Module: GlobalID::FixtureSet

Defined in:
lib/global_id/fixture_set.rb

Instance Method Summary collapse

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, **options)
  create_global_id(fixture_set_name, label, column_type: column_type, klass: GlobalID, **options)
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, **options)
  create_global_id(fixture_set_name, label, column_type: column_type, klass: SignedGlobalID, **options)
end