Add import route for bank_transactions

This commit is contained in:
Patrick Gansterer 2018-10-11 23:26:12 +02:00
parent 0bb0536903
commit 903086ab97
5 changed files with 27 additions and 0 deletions

View file

@ -9,4 +9,7 @@ class BankAccount < ActiveRecord::Base
validates_format_of :iban, :with => /\A[A-Z]{2}[0-9]{2}[0-9A-Z]{,30}\z/
validates_numericality_of :balance, :message => I18n.t('bank_account.model.invalid_balance')
# @return [Function] Method wich can be called to import transaction from a bank or nil if unsupported
def find_import_method
end
end