Class: OFX::Document::BankAccount
Instance Method Summary
collapse
#bank_account, #include_transactions
#statement_request, #trnuid
#statement_request
#bank, #signon
Methods inherited from Aggregate
#root
Constructor Details
#initialize(options = {}) ⇒ BankAccount
Returns a new instance of BankAccount.
5
6
7
8
9
10
|
# File 'lib/ofx/document/bank_account.rb', line 5
def initialize(options = {})
@routing = options[:routing] || (raise Errors::RoutingMissing)
@account = options[:account] || (raise Errors::AccountMissing)
@type = account_type(options[:type] || :checking)
super
end
|
Instance Method Details
#acctid ⇒ Object
16
17
18
|
# File 'lib/ofx/document/bank_account.rb', line 16
def acctid
@account
end
|
#accttype ⇒ Object
20
21
22
|
# File 'lib/ofx/document/bank_account.rb', line 20
def accttype
@type
end
|
#bankid ⇒ Object
12
13
14
|
# File 'lib/ofx/document/bank_account.rb', line 12
def bankid
@routing
end
|