Class: MultiSafePay::Client::Configuration
- Inherits:
-
Object
- Object
- MultiSafePay::Client::Configuration
- Defined in:
- lib/multisafepay/client.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
-
#read_timeout ⇒ Object
Returns the value of attribute read_timeout.
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 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_key ⇒ Object
Returns the value of attribute api_key.
14 15 16 |
# File 'lib/multisafepay/client.rb', line 14 def api_key @api_key end |
#debug ⇒ Object
Returns the value of attribute debug.
14 15 16 |
# File 'lib/multisafepay/client.rb', line 14 def debug @debug end |
#environment ⇒ Object
Returns the value of attribute environment.
14 15 16 |
# File 'lib/multisafepay/client.rb', line 14 def environment @environment end |
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
14 15 16 |
# File 'lib/multisafepay/client.rb', line 14 def open_timeout @open_timeout end |
#read_timeout ⇒ Object
Returns the value of attribute read_timeout.
14 15 16 |
# File 'lib/multisafepay/client.rb', line 14 def read_timeout @read_timeout end |