Class: Mintchip::Hosted::TransactionLogEntry
- Inherits:
-
Object
- Object
- Mintchip::Hosted::TransactionLogEntry
- Defined in:
- lib/mintchip/hosted/transaction_log_entry.rb
Constant Summary collapse
- ATTRIBUTES =
%w(amount challenge index logType payerId payeeId transactionTime currencyCode)
Instance Method Summary collapse
-
#initialize(attrs) ⇒ TransactionLogEntry
constructor
A new instance of TransactionLogEntry.
Constructor Details
#initialize(attrs) ⇒ TransactionLogEntry
Returns a new instance of TransactionLogEntry.
8 9 10 11 12 |
# File 'lib/mintchip/hosted/transaction_log_entry.rb', line 8 def initialize(attrs) ATTRIBUTES.each do |attr| instance_variable_set("@#{attr.underscore}", attrs[attr]) end end |