Class: BankPayments::SwedbankImport::AccountRecord

Inherits:
BankPayments::SpisuRecord show all
Defined in:
lib/bank_payments/swedbank_import/account_record.rb

Instance Method Summary collapse

Methods inherited from BankPayments::SpisuRecord

define_field, defined_fields, definition_for, #extract_date, #extract_field_value, #extract_raw_value, inherited, #method_missing, #serialize_value, #set_numeric_value, #set_text_value, #set_value, #to_s, #type, #type=

Constructor Details

#initialize(raw_record) ⇒ AccountRecord

Returns a new instance of AccountRecord.



8
9
10
11
# File 'lib/bank_payments/swedbank_import/account_record.rb', line 8

def initialize(raw_record)
  super
  self.type = '1'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BankPayments::SpisuRecord

Instance Method Details

#transaction_dateObject



13
14
15
# File 'lib/bank_payments/swedbank_import/account_record.rb', line 13

def transaction_date
  extract_date __callee__
end