class Freee::Walletable
Public Class Methods
create(json)
click to toggle source
# File lib/freee/walletable.rb, line 3 def self.create(json) params = Freee.encode_json(json) Freee.client.post('/api/1/walletables', :walletable, params) end
list(company_id)
click to toggle source
# File lib/freee/walletable.rb, line 9 def self.list(company_id) Freee.client.get( "/api/1/walletables?company_id=#{company_id.to_i}", :walletable ) end