Class: Cielo::API30::Merchant
- Inherits:
-
Object
- Object
- Cielo::API30::Merchant
- Defined in:
- lib/cielo/api30/merchant.rb
Overview
Merchant identification on Cielo
Instance Attribute Summary collapse
-
#merchant_id ⇒ String
the merchant identification number.
-
#merchant_key ⇒ String
the merchant identification key.
Instance Method Summary collapse
-
#initialize(merchant_id, merchant_key) ⇒ Merchant
constructor
A new instance of Merchant.
Constructor Details
#initialize(merchant_id, merchant_key) ⇒ Merchant
Returns a new instance of Merchant.
13 14 15 16 |
# File 'lib/cielo/api30/merchant.rb', line 13 def initialize(merchant_id, merchant_key) @merchant_id = merchant_id @merchant_key = merchant_key end |
Instance Attribute Details
#merchant_id ⇒ String
the merchant identification number
7 8 9 |
# File 'lib/cielo/api30/merchant.rb', line 7 def merchant_id @merchant_id end |
#merchant_key ⇒ String
the merchant identification key
7 8 9 |
# File 'lib/cielo/api30/merchant.rb', line 7 def merchant_key @merchant_key end |