Class: ExternalId::Configuration
- Inherits:
-
Object
- Object
- ExternalId::Configuration
- Defined in:
- lib/external_id/configuration.rb
Instance Attribute Summary collapse
-
#base_class ⇒ Object
Returns the value of attribute base_class.
-
#providers ⇒ Object
Returns the value of attribute providers.
-
#use_uuid ⇒ Object
Returns the value of attribute use_uuid.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/external_id/configuration.rb', line 7 def initialize @providers = {} @base_class = 'ActiveRecord::Base' @use_uuid = true end |
Instance Attribute Details
#base_class ⇒ Object
Returns the value of attribute base_class.
5 6 7 |
# File 'lib/external_id/configuration.rb', line 5 def base_class @base_class end |
#providers ⇒ Object
Returns the value of attribute providers.
5 6 7 |
# File 'lib/external_id/configuration.rb', line 5 def providers @providers end |
#use_uuid ⇒ Object
Returns the value of attribute use_uuid.
5 6 7 |
# File 'lib/external_id/configuration.rb', line 5 def use_uuid @use_uuid end |