Class: Cryptomus::Configuration
- Inherits:
-
Object
- Object
- Cryptomus::Configuration
- Defined in:
- lib/cryptomus/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#connection_config ⇒ Object
Returns the value of attribute connection_config.
-
#handle_response ⇒ Object
Returns the value of attribute handle_response.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#merchant_id ⇒ Object
Returns the value of attribute merchant_id.
-
#on_error ⇒ Object
Returns the value of attribute on_error.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 |
# File 'lib/cryptomus/configuration.rb', line 13 def initialize self.user_agent = "Cryptomus Ruby SDK #{Cryptomus::VERSION} (Ruby #{RUBY_VERSION})" end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/cryptomus/configuration.rb', line 5 def api_key @api_key end |
#connection_config ⇒ Object
Returns the value of attribute connection_config.
5 6 7 |
# File 'lib/cryptomus/configuration.rb', line 5 def connection_config @connection_config end |
#handle_response ⇒ Object
Returns the value of attribute handle_response.
5 6 7 |
# File 'lib/cryptomus/configuration.rb', line 5 def handle_response @handle_response end |
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/cryptomus/configuration.rb', line 5 def logger @logger end |
#merchant_id ⇒ Object
Returns the value of attribute merchant_id.
5 6 7 |
# File 'lib/cryptomus/configuration.rb', line 5 def merchant_id @merchant_id end |
#on_error ⇒ Object
Returns the value of attribute on_error.
5 6 7 |
# File 'lib/cryptomus/configuration.rb', line 5 def on_error @on_error end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
5 6 7 |
# File 'lib/cryptomus/configuration.rb', line 5 def user_agent @user_agent end |