Method: EwayRapid::InternalModels::Transaction.from_array

Defined in:
lib/eway_rapid/models/internal_models.rb

.from_array(array) ⇒ Object



408
409
410
411
412
413
414
415
# File 'lib/eway_rapid/models/internal_models.rb', line 408

def self.from_array(array)
  transactions = []
  array.each {|transaction_hash|
    obj = from_hash(transaction_hash)
    transactions.push(obj)
  }
  transactions
end