Class: Freee::Tax
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
config, #get, #initialize, #post, set_env, #token, #token=
Constructor Details
This class inherits a constructor from Freee::Base
Class Method Details
.list(company_id) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/freee/tax.rb', line 3 def self.list(company_id) Freee.client.get( "/api/1/taxes?company_id=#{company_id.to_i}", :tax ) end |
.list_of_code ⇒ Object
10 11 12 |
# File 'lib/freee/tax.rb', line 10 def self.list_of_code Freee.client.get('/api/1/taxes/codes', :tax) end |