Class: ChinaPay::Alipay::Merchant
- Inherits:
-
Object
- Object
- ChinaPay::Alipay::Merchant
- Defined in:
- lib/china_pay/alipay.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#partner ⇒ Object
Returns the value of attribute partner.
Instance Method Summary collapse
- #create_order(order_id, subject, description) ⇒ Object
-
#initialize(partner, key) ⇒ Merchant
constructor
A new instance of Merchant.
Constructor Details
#initialize(partner, key) ⇒ Merchant
Returns a new instance of Merchant.
152 153 154 155 |
# File 'lib/china_pay/alipay.rb', line 152 def initialize(partner, key) @partner = partner @key = key end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
150 151 152 |
# File 'lib/china_pay/alipay.rb', line 150 def key @key end |
#partner ⇒ Object
Returns the value of attribute partner.
150 151 152 |
# File 'lib/china_pay/alipay.rb', line 150 def partner @partner end |