Module: Closeio::Client::User
- Included in:
- Closeio::Client
- Defined in:
- lib/closeio/resources/user.rb
Instance Method Summary collapse
- #available_users(organization_id) ⇒ Object
- #fetch_api_key ⇒ Object
- #find_user(id) ⇒ Object
- #list_users ⇒ Object
- #me ⇒ Object
Instance Method Details
#available_users(organization_id) ⇒ Object
21 22 23 |
# File 'lib/closeio/resources/user.rb', line 21 def available_users(organization_id) get("user/availability/?organization_id=#{organization_id}") end |
#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 |