Class: Toggl::Report

Inherits:
Object
  • Object
show all
Includes:
Request
Defined in:
lib/toggl_api/report.rb

Constant Summary collapse

APIVERSION =
"v2"

Constants included from Request

Toggl::Request::ENDPOINT

Instance Attribute Summary

Attributes included from Request

#connection_options, #user_agent

Instance Method Summary collapse

Constructor Details

#initialize(token) ⇒ Report

Returns a new instance of Report.



10
11
12
# File 'lib/toggl_api/report.rb', line 10

def initialize(token)
  @username,@pass = token,"api_token"
end