Module: BWAPI::Client::Admin::Clients::Users::Sharing
- Included in:
- BWAPI::Client::Admin::Clients::Users
- Defined in:
- lib/bwapi/client/admin/clients/users/sharing.rb
Overview
Sharing module for admin/users/sharing endpoints
Instance Method Summary collapse
-
#client_users_sharing(client_id, user_id) ⇒ Hash
Get a list of project shares for user.
-
#update_client_users_sharing(client_id, user_id, opts) ⇒ Hash
Update a list of project shares for user.
Instance Method Details
#client_users_sharing(client_id, user_id) ⇒ Hash
Get a list of project shares for user
13 14 15 |
# File 'lib/bwapi/client/admin/clients/users/sharing.rb', line 13 def client_users_sharing(client_id, user_id) get "admin/client/#{client_id}/users/#{user_id}/sharing" end |
#update_client_users_sharing(client_id, user_id, opts) ⇒ Hash
Update a list of project shares for user
24 25 26 |
# File 'lib/bwapi/client/admin/clients/users/sharing.rb', line 24 def update_client_users_sharing(client_id, user_id, opts) get "admin/client/#{client_id}/users/#{user_id}/sharing", opts end |