lib/dineromail/notification.rb in dineromail-0.1.1 vs lib/dineromail/notification.rb in dineromail-0.1.2
- old
+ new
@@ -5,12 +5,16 @@
tag 'OPERACION'
element :transaction_id, Integer, :tag => 'ID'
element :type, String, :tag => 'TIPO'
+ def initialize(options = {})
+ @options = options.symbolize_keys
+ end
+
def status_report
unless @status_report
- @status_report = StatusReport.get_report_for(transaction_id)
+ @status_report = StatusReport.get_report_for(transaction_id,@options)
end
@status_report
end
def valid_report?
\ No newline at end of file