Class: Payline::ReserveResponse
- Inherits:
-
Object
- Object
- Payline::ReserveResponse
- Defined in:
- lib/payline/reserve_response.rb
Instance Attribute Summary collapse
-
#merchant_reference ⇒ Object
readonly
Returns the value of attribute merchant_reference.
-
#transaction_id ⇒ Object
readonly
Returns the value of attribute transaction_id.
Instance Method Summary collapse
-
#initialize(merchant_reference, transaction_id) ⇒ ReserveResponse
constructor
A new instance of ReserveResponse.
Constructor Details
#initialize(merchant_reference, transaction_id) ⇒ ReserveResponse
Returns a new instance of ReserveResponse.
6 7 8 9 |
# File 'lib/payline/reserve_response.rb', line 6 def initialize(merchant_reference, transaction_id) @merchant_reference = merchant_reference @transaction_id = transaction_id end |
Instance Attribute Details
#merchant_reference ⇒ Object (readonly)
Returns the value of attribute merchant_reference.
3 4 5 |
# File 'lib/payline/reserve_response.rb', line 3 def merchant_reference @merchant_reference end |
#transaction_id ⇒ Object (readonly)
Returns the value of attribute transaction_id.
4 5 6 |
# File 'lib/payline/reserve_response.rb', line 4 def transaction_id @transaction_id end |