diff --git a/lib/togglv8/workspaces.rb b/lib/togglv8/workspaces.rb index 8ea1d55a8..6342fc96e 100644 --- a/lib/togglv8/workspaces.rb +++ b/lib/togglv8/workspaces.rb @@ -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}"