Class: Cashflow::Cli
- Inherits:
-
Thor
- Object
- Thor
- Cashflow::Cli
- Includes:
- Thor::Actions
- Defined in:
- lib/cashflow/cli.rb
Instance Method Summary collapse
Instance Method Details
#load(ofx_file_path) ⇒ Object
14 15 16 17 18 |
# File 'lib/cashflow/cli.rb', line 14 def load(ofx_file_path) account = OFX(ofx_file_path).account store_ofx_transactions(account.transactions, account.id) say("Successfully loaded the transactions for #{account.id}", :green) end |