Class: SimpleClient::MerchantCredentials
- Inherits:
-
Object
- Object
- SimpleClient::MerchantCredentials
- Defined in:
- lib/simple/merchant_credentials.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
readonly
Returns the value of attribute api_key.
-
#api_secret ⇒ Object
readonly
Returns the value of attribute api_secret.
Instance Method Summary collapse
-
#initialize(api_key, api_secret) ⇒ MerchantCredentials
constructor
A new instance of MerchantCredentials.
Constructor Details
#initialize(api_key, api_secret) ⇒ MerchantCredentials
Returns a new instance of MerchantCredentials.
5 6 7 8 |
# File 'lib/simple/merchant_credentials.rb', line 5 def initialize(api_key, api_secret) @api_secret = api_secret @api_key = api_key end |
Instance Attribute Details
#api_key ⇒ Object (readonly)
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/simple/merchant_credentials.rb', line 3 def api_key @api_key end |
#api_secret ⇒ Object (readonly)
Returns the value of attribute api_secret.
3 4 5 |
# File 'lib/simple/merchant_credentials.rb', line 3 def api_secret @api_secret end |