Class: MultiSafePay::Client::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/multisafepay/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



16
17
18
19
20
21
22
# File 'lib/multisafepay/client.rb', line 16

def initialize
  @api_key = ''
  @debug = false
  @environment = MODE_LIVE
  @open_timeout = 60
  @read_timeout = 60
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



14
15
16
# File 'lib/multisafepay/client.rb', line 14

def api_key
  @api_key
end

#debugObject

Returns the value of attribute debug.



14
15
16
# File 'lib/multisafepay/client.rb', line 14

def debug
  @debug
end

#environmentObject

Returns the value of attribute environment.



14
15
16
# File 'lib/multisafepay/client.rb', line 14

def environment
  @environment
end

#open_timeoutObject

Returns the value of attribute open_timeout.



14
15
16
# File 'lib/multisafepay/client.rb', line 14

def open_timeout
  @open_timeout
end

#read_timeoutObject

Returns the value of attribute read_timeout.



14
15
16
# File 'lib/multisafepay/client.rb', line 14

def read_timeout
  @read_timeout
end