Class: Moneylovercli::Api::Category
- Inherits:
-
MoneyLover
- Object
- Base
- MoneyLover
- Moneylovercli::Api::Category
- Defined in:
- lib/moneylovercli/api/category.rb
Instance Attribute Summary
Attributes inherited from MoneyLover
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from MoneyLover
Constructor Details
This class inherits a constructor from Moneylovercli::Api::MoneyLover
Instance Method Details
#list(wallet_id:) ⇒ Object
9 10 11 12 |
# File 'lib/moneylovercli/api/category.rb', line 9 def list(wallet_id:) self.class.post('/category/list', body: { walletId: wallet_id }, headers: { authorization: "AuthJWT #{@token}" }) end |