Class: Myfinance::Resources::Account
- Defined in:
- lib/myfinance/resources/account.rb
Overview
A wrapper to Myfinance accounts API
[API] Documentation: https://app.myfinance.com.br/docs/api/multiple_accounts
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#find_all ⇒ Object
List all account of the user.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Myfinance::Resources::Base
Instance Method Details
#find_all ⇒ Object
List all account of the user
[API] Method: GET /accounts
Documentation: https://app.myfinance.com.br/docs/api/multiple_accounts#get_index
18 19 20 21 22 |
# File 'lib/myfinance/resources/account.rb', line 18 def find_all http.get("/accounts", body: {}) do |response| respond_with_collection(response) end end |