Module: GlobalID::FixtureSet
- Defined in:
- lib/global_id/fixture_set.rb
Instance Method Summary collapse
- #global_id(fixture_set_name, label, column_type: :integer, **options) ⇒ Object
- #signed_global_id(fixture_set_name, label, column_type: :integer, **options) ⇒ Object
Instance Method Details
#global_id(fixture_set_name, label, column_type: :integer, **options) ⇒ Object
5 6 7 |
# File 'lib/global_id/fixture_set.rb', line 5 def global_id(fixture_set_name, label, column_type: :integer, **) create_global_id(fixture_set_name, label, column_type: column_type, klass: GlobalID, **) end |
#signed_global_id(fixture_set_name, label, column_type: :integer, **options) ⇒ Object
9 10 11 |
# File 'lib/global_id/fixture_set.rb', line 9 def signed_global_id(fixture_set_name, label, column_type: :integer, **) create_global_id(fixture_set_name, label, column_type: column_type, klass: SignedGlobalID, **) end |