Class: Kudos::Configuration
- Inherits:
-
Object
- Object
- Kudos::Configuration
- Defined in:
- lib/kudos/configuration.rb
Instance Attribute Summary collapse
-
#achievements_model_name ⇒ Object
Returns the value of attribute achievements_model_name.
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 |
# File 'lib/kudos/configuration.rb', line 7 def initialize # model name with defined award_for methods @achievements_model_name = ::Achievement end |
Instance Attribute Details
#achievements_model_name ⇒ Object
Returns the value of attribute achievements_model_name.
5 6 7 |
# File 'lib/kudos/configuration.rb', line 5 def achievements_model_name @achievements_model_name end |