lib/bankserv/transmission/input_document.rb in bankserv-0.5.3 vs lib/bankserv/transmission/input_document.rb in bankserv-0.5.4
- old
+ new
@@ -9,10 +9,10 @@
self.update_attributes!(processed: true)
end
def mark_records_pending!
records.each do |rec|
- rec.pending! if rec.respond_to?(:pending!)
+ rec.sourceable.pending! if rec.sourceable
end
end
def self.store(string)
options = Absa::H2h::Transmission::Document.hash_from_s(string, 'input')
\ No newline at end of file