Skip to content

Commit

Permalink
Add functionality to fetch workspace user information
Browse files Browse the repository at this point in the history
Signed-off-by: Roy Mumaw <roy@mudbugmedia.com>
  • Loading branch information
Roy Mumaw committed Jun 21, 2016
1 parent 36113d2 commit 3488ece
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/togglv8/workspaces.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ def users(workspace_id)
get "workspaces/#{workspace_id}/users"
end

def workspace_users(workspace_id)
get "workspaces/#{workspace_id}/workspace_users"
end

def tasks(workspace_id, params={})
active = params.has_key?(:active) ? "?active=#{params[:active]}" : ""
get "workspaces/#{workspace_id}/tasks#{active}"
Expand Down

0 comments on commit 3488ece

Please sign in to comment.