Class: Kount::Transaction
- Inherits:
-
Object
- Object
- Kount::Transaction
- Defined in:
- lib/kount/response.rb
Instance Attribute Summary collapse
-
#merchant_transaction_id ⇒ Object
Returns the value of attribute merchant_transaction_id.
-
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Transaction
constructor
A new instance of Transaction.
Constructor Details
#initialize(attrs = {}) ⇒ Transaction
Returns a new instance of Transaction.
87 88 89 90 |
# File 'lib/kount/response.rb', line 87 def initialize(attrs = {}) @transaction_id = attrs["transaction_id"] @merchant_transaction_id = attrs["merchant_transaction_id"] end |
Instance Attribute Details
#merchant_transaction_id ⇒ Object
Returns the value of attribute merchant_transaction_id.
85 86 87 |
# File 'lib/kount/response.rb', line 85 def merchant_transaction_id @merchant_transaction_id end |
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
85 86 87 |
# File 'lib/kount/response.rb', line 85 def transaction_id @transaction_id end |