class TimeDoctor::Client

Constants

CORE

Public Class Methods

new(config = {}) click to toggle source
# File lib/timedoctor/client.rb, line 17
def initialize(config = {})
  @config = Config.new(config)
  @worker = Worker.new(@config)
end

Public Instance Methods

absent_and_late() click to toggle source
# File lib/timedoctor/client.rb, line 22
def absent_and_late
  CORE::AbsentAndLate.new(@worker)
end
companies() click to toggle source
# File lib/timedoctor/client.rb, line 26
def companies
  CORE::Companies.new(@worker)
end
payrolls() click to toggle source
# File lib/timedoctor/client.rb, line 30
def payrolls
  CORE::Payrolls.new(@worker)
end
poortime() click to toggle source
# File lib/timedoctor/client.rb, line 34
def poortime
  CORE::Poortime.new(@worker)
end
projects() click to toggle source
# File lib/timedoctor/client.rb, line 38
def projects
  CORE::Projects.new(@worker)
end
tasks() click to toggle source
# File lib/timedoctor/client.rb, line 42
def tasks
  CORE::Tasks.new(@worker)
end
users() click to toggle source
# File lib/timedoctor/client.rb, line 46
def users
  CORE::Users.new(@worker)
end
web_and_app() click to toggle source
# File lib/timedoctor/client.rb, line 50
def web_and_app
  CORE::WebAndApp.new(@worker)
end
worklogs() click to toggle source
# File lib/timedoctor/client.rb, line 54
def worklogs
  CORE::Worklogs.new(@worker)
end