Module: BWAPI::Client::Projects::Users

Included in:
BWAPI::Client::Projects
Defined in:
lib/bwapi/client/projects/users.rb

Overview

Users module for projects/users endpoint

Instance Method Summary collapse

Instance Method Details

#project_users(project_id) ⇒ Hash

Get all users shared with project

Parameters:

  • project_id (Integer)

    Id of project

Returns:

  • (Hash)

    All users shared to project



10
11
12
# File 'lib/bwapi/client/projects/users.rb', line 10

def project_users(project_id)
  get "projects/#{project_id}/users"
end