class TogglBillable::User
Public Instance Methods
default_workspace_id()
click to toggle source
# File lib/toggl_billable/user.rb, line 9 def default_workspace_id response = Client.api_get('me') JSON.parse(response.body)['data']['default_wid'] end
workspaces()
click to toggle source
# File lib/toggl_billable/user.rb, line 4 def workspaces response = Client.api_get('workspaces') JSON.parse(response.body) end