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