Module: Closeio::Client::User
- Included in:
- Closeio::Client
- Defined in:
- lib/closeio/resources/user.rb
Instance Method Summary collapse
Instance Method Details
#fetch_api_key ⇒ Object
17 18 19 |
# File 'lib/closeio/resources/user.rb', line 17 def fetch_api_key get("api_key/#{@api_key}/") end |
#find_user(id) ⇒ Object
9 10 11 |
# File 'lib/closeio/resources/user.rb', line 9 def find_user(id) get("user/#{id}/") end |
#list_users ⇒ Object
5 6 7 |
# File 'lib/closeio/resources/user.rb', line 5 def list_users get("user/") end |
#me ⇒ Object
13 14 15 |
# File 'lib/closeio/resources/user.rb', line 13 def me get("me/") end |