instance method
signed_global_id
Ruby on Rails 1.0.1
Last seen in v1.3.0Signature
signed_global_id(fixture_set_name, label, column_type: :integer, **options)
No documentation comment.
Parameters
-
fixture_set_namereq -
labelreq -
column_typekey = :integer -
optionskeyrest
Source
# File lib/global_id/fixture_set.rb, line 5
def signed_global_id(fixture_set_name, label, column_type: :integer, **options)
identifier = identify(label, column_type)
model_name = default_fixture_model_name(fixture_set_name)
uri = URI::GID.build([GlobalID.app, model_name, identifier, {}])
SignedGlobalID.new(uri, **options)
end
Defined in lib/global_id/fixture_set.rb line 5
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in GlobalID::FixtureSet