Class: Nps::Configuration
- Inherits:
-
Object
- Object
- Nps::Configuration
- Defined in:
- lib/nps/configuration.rb
Instance Attribute Summary collapse
-
#ballot_adaptor ⇒ Object
Public: Retrieve or assign a ballot adaptor to store the NPS votes.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Public: Initialize a new configuration for the library with the default behaviour.
Constructor Details
#initialize ⇒ Configuration
Public: Initialize a new configuration for the library with the default behaviour.
9 10 11 |
# File 'lib/nps/configuration.rb', line 9 def initialize @ballot_adaptor = Nps::Ballot end |
Instance Attribute Details
#ballot_adaptor ⇒ Object
Public: Retrieve or assign a ballot adaptor to store the NPS votes.
5 6 7 |
# File 'lib/nps/configuration.rb', line 5 def ballot_adaptor @ballot_adaptor end |