lib/bankserv/transmission/set.rb in bankserv-0.1.6 vs lib/bankserv/transmission/set.rb in bankserv-0.1.7

- old
+ new

@@ -113,8 +113,17 @@ def record_with_sequence_number(sequence_number) transactions.select{|rec| rec.data[:user_sequence_number] == sequence_number}.first end + def base_set + return parent.base_set if parent + self + end + + def get_document + base_set.document + end + end end \ No newline at end of file