Class: Carrier::Configuration::User
- Inherits:
-
Object
- Object
- Carrier::Configuration::User
- Includes:
- Singleton
- Defined in:
- lib/carrier/configuration/user.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#key_attr ⇒ Object
10 11 12 |
# File 'lib/carrier/configuration/user.rb', line 10 def key_attr @key_attr || default_key_attr end |
Instance Method Details
#default_key_attr ⇒ Object
14 15 16 |
# File 'lib/carrier/configuration/user.rb', line 14 def default_key_attr :id end |
#reset_to_defaults! ⇒ Object
18 19 20 |
# File 'lib/carrier/configuration/user.rb', line 18 def reset_to_defaults! @key_attr = nil end |