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(id) ⇒ Hashie::Mash

Get all users shared with project

Parameters:

  • id (Integer)

    Id of project

Returns:

  • (Hashie::Mash)

    All users shared to project



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

def project_users id
  get "projects/#{id}/users"
end