Class: Freee::User
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
.me ⇒ Object
3 4 5 |
# File 'lib/freee/user.rb', line 3 def self.me Freee.client.get('/api/1/users/me', :user) end |
.me_all ⇒ Object
7 8 9 |
# File 'lib/freee/user.rb', line 7 def self.me_all Freee.client.get('/api/1/users/me?companies=true', :user) end |