Class: PinPays::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/pin_pays/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#keyObject

Returns the value of attribute key.



13
14
15
# File 'lib/pin_pays/config.rb', line 13

def key
  @key
end

#modeObject

Returns the value of attribute mode.



14
15
16
# File 'lib/pin_pays/config.rb', line 14

def mode
  @mode
end