class GlobalID
def create(model, options = {})
def create(model, options = {}) app = options.fetch :app, GlobalID.app raise ArgumentError, "An app is required to create a GlobalID. Pass the :app option or set the default GlobalID.app." unless app new URI("gid://#{app}/#{model.class.name}/#{model.id}"), options end