class Toggl::Report
Constants
- APIVERSION
Public Class Methods
new(token)
click to toggle source
# File lib/toggl_api/report.rb, line 10 def initialize(token) @username,@pass = token,"api_token" end
Private Instance Methods
basic_path(path)
click to toggle source
# File lib/toggl_api/report.rb, line 25 def basic_path(path) path = "/reports/api/#{APIVERSION}#{path}" unless path =~ /reports/ end