Class: Braspag::Merchant
- Inherits:
-
Object
- Object
- Braspag::Merchant
- Defined in:
- lib/braspag/merchant.rb
Overview
Merchant identification on Braspag
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.
12 13 14 15 |
# File 'lib/braspag/merchant.rb', line 12 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
6 7 8 |
# File 'lib/braspag/merchant.rb', line 6 def merchant_id @merchant_id end |
#merchant_key ⇒ String
the merchant identification key
6 7 8 |
# File 'lib/braspag/merchant.rb', line 6 def merchant_key @merchant_key end |