Class: PrismPay::ReportResults

Inherits:
Object
  • Object
show all
Defined in:
lib/prismpay/prismpay_reports.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(soap_result) ⇒ ReportResults

Returns a new instance of ReportResults.



463
464
465
# File 'lib/prismpay/prismpay_reports.rb', line 463

def initialize(soap_result)
  @transactions = soap_result[:transaction_report_result][:transaction_report_details][:results][:record]
end

Instance Attribute Details

#transactionsObject (readonly)

Returns the value of attribute transactions.



461
462
463
# File 'lib/prismpay/prismpay_reports.rb', line 461

def transactions
  @transactions
end