Method: EasyqaApi::Role.all
- Defined in:
- lib/easyqa_api/items/role.rb
.all(organization_id, user = @@default_user) ⇒ Array
Retrieve all roles from organization
26 27 28 29 30 31 32 |
# File 'lib/easyqa_api/items/role.rb', line 26 def self.all(organization_id, user = @@default_user) send_request("organizations/#{organization_id}/roles", :get) do |req| req.params = { auth_token: user.auth_token } end end |