class GlobalID

def create(model, options = {})

def create(model, options = {})
  if app = options.fetch(:app) { GlobalID.app }
    new URI::GID.create(app, model), options
  else
    raise ArgumentError, 'An app is required to create a GlobalID. ' \
      'Pass the :app option or set the default GlobalID.app.'
  end
end