module Toggl::Api::Workspace
Public Instance Methods
get_workspace_clients(wid)
click to toggle source
# File lib/toggl_api/api/workspace.rb, line 18 def get_workspace_clients(wid) get "/workspaces/#{wid}/clients" end
Also aliased as: workspace_clients
get_workspace_projects(wid, active=true)
click to toggle source
the token owner must be workspace admin
# File lib/toggl_api/api/workspace.rb, line 24 def get_workspace_projects(wid, active=true) get "/workspaces/#{wid}/projects", {:active => active} end
Also aliased as: workspace_projects
get_workspace_tasks(wid, active=true)
click to toggle source
# File lib/toggl_api/api/workspace.rb, line 29 def get_workspace_tasks(wid, active=true) get "/workspaces/#{wid}/tasks", {:active => active} end
Also aliased as: workspace_tasks
get_workspace_users(wid)
click to toggle source
# File lib/toggl_api/api/workspace.rb, line 13 def get_workspace_users(wid) get "/workspaces/#{wid}/users" end
Also aliased as: workspace_users
workspaces()
click to toggle source
name: (string, required) premium: If it's a pro workspace or not. Shows if someone is paying for the workspace or not (boolean, not required) at: timestamp that is sent in the response, indicates the time item was last updated
# File lib/toggl_api/api/workspace.rb, line 9 def workspaces get "/workspaces" end