Class: PinPays::Configuration
- Inherits:
-
Object
- Object
- PinPays::Configuration
- Defined in:
- lib/pin_pays/config.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#mode ⇒ Object
Returns the value of attribute mode.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
16 17 18 19 |
# File 'lib/pin_pays/config.rb', line 16 def initialize @key = nil @mode = :test end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
13 14 15 |
# File 'lib/pin_pays/config.rb', line 13 def key @key end |
#mode ⇒ Object
Returns the value of attribute mode.
14 15 16 |
# File 'lib/pin_pays/config.rb', line 14 def mode @mode end |