Class: Moneylovercli::Api::Wallet

Inherits:
MoneyLover show all
Defined in:
lib/moneylovercli/api/wallet.rb

Instance Attribute Summary

Attributes inherited from MoneyLover

#token

Attributes inherited from Base

#token

Instance Method Summary collapse

Methods inherited from MoneyLover

#initialize

Constructor Details

This class inherits a constructor from Moneylovercli::Api::MoneyLover

Instance Method Details

#listObject



8
9
10
# File 'lib/moneylovercli/api/wallet.rb', line 8

def list
  self.class.post('/wallet/list', body: {}, headers: { authorization: "AuthJWT #{@token}" })
end