Class: Eac::Parsers::Ofx
- Inherits:
-
Base
- Object
- Base
- Eac::Parsers::Ofx
show all
- Defined in:
- lib/eac/parsers/ofx.rb
Instance Method Summary
collapse
Methods inherited from Base
#content, #initialize, #url
Instance Method Details
#assert_ofx ⇒ Object
9
10
11
12
|
# File 'lib/eac/parsers/ofx.rb', line 9
def assert_ofx
fail "Not a OFX: #{url}" unless ofx.bank_account || ofx.credit_card ||
ofx.investment
end
|
#ofx ⇒ Object
5
6
7
|
# File 'lib/eac/parsers/ofx.rb', line 5
def ofx
@ofx ||= ofx_parse
end
|
#ofx? ⇒ Boolean
14
15
16
|
# File 'lib/eac/parsers/ofx.rb', line 14
def ofx?
ofx.present?
end
|