Class: Freee::Walletable
- Inherits:
-
Base
- Object
- Base
- Freee::Walletable
show all
- Defined in:
- lib/freee/walletable.rb
Instance Attribute Summary
Attributes inherited from Base
#client
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/walletable.rb', line 3
def self.list(company_id)
Freee.client.get(
"/api/1/walletables?company_id=#{company_id.to_i}",
:walletable
)
end
|