Class: Kount::Transaction

Inherits:
Object
  • Object
show all
Defined in:
lib/kount/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

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_idObject

Returns the value of attribute transaction_id.



85
86
87
# File 'lib/kount/response.rb', line 85

def transaction_id
  @transaction_id
end