Class: Kudos::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/kudos/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_nameObject

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