Class: Illiad::AR::Transaction

Inherits:
Object
  • Object
show all
Defined in:
lib/illiad/transaction.rb

Instance Method Summary collapse

Instance Method Details

#to_recordObject



5
6
7
8
9
10
# File 'lib/illiad/transaction.rb', line 5

def to_record
  Source::Illiad::Record.new(:id => read_attribute(:TransactionNumber),
                             :title => read_attribute(:LoanTitle),
                             :due_date => read_attribute(:DueDate),
                             :charged => charged?)
end