Class: Cryptomus::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/cryptomus/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

Returns the value of attribute api_key.



5
6
7
# File 'lib/cryptomus/configuration.rb', line 5

def api_key
  @api_key
end

#connection_configObject

Returns the value of attribute connection_config.



5
6
7
# File 'lib/cryptomus/configuration.rb', line 5

def connection_config
  @connection_config
end

#handle_responseObject

Returns the value of attribute handle_response.



5
6
7
# File 'lib/cryptomus/configuration.rb', line 5

def handle_response
  @handle_response
end

#loggerObject

Returns the value of attribute logger.



5
6
7
# File 'lib/cryptomus/configuration.rb', line 5

def logger
  @logger
end

#merchant_idObject

Returns the value of attribute merchant_id.



5
6
7
# File 'lib/cryptomus/configuration.rb', line 5

def merchant_id
  @merchant_id
end

#on_errorObject

Returns the value of attribute on_error.



5
6
7
# File 'lib/cryptomus/configuration.rb', line 5

def on_error
  @on_error
end

#user_agentObject

Returns the value of attribute user_agent.



5
6
7
# File 'lib/cryptomus/configuration.rb', line 5

def user_agent
  @user_agent
end