class Freee::WalletTxn
Public Class Methods
create(json)
click to toggle source
# File lib/freee/wallet_txn.rb, line 3 def self.create(json) params = Freee.encode_json(json) Freee.client.post('/api/1/wallet_txns', :wallet_txn, json) end
list(company_id, **kwargs)
click to toggle source
# File lib/freee/wallet_txn.rb, line 8 def self.list(company_id, **kwargs) params = Freee.encode_params(kwargs) Freee.client.get( "/api/1/wallet_txns?company_id=#{company_id.to_i}#{params}", :wallet_txn ) end