Class: TimeDoctor::Client
- Inherits:
-
Object
- Object
- TimeDoctor::Client
- Defined in:
- lib/timedoctor/client.rb
Constant Summary collapse
- CORE =
TimeDoctor::Core
Instance Method Summary collapse
- #absent_and_late ⇒ Object
- #companies ⇒ Object
-
#initialize(config = {}) ⇒ Client
constructor
A new instance of Client.
- #payrolls ⇒ Object
- #poortime ⇒ Object
- #projects ⇒ Object
- #tasks ⇒ Object
- #users ⇒ Object
- #web_and_app ⇒ Object
- #worklogs ⇒ Object
Constructor Details
Instance Method Details
#absent_and_late ⇒ Object
22 23 24 |
# File 'lib/timedoctor/client.rb', line 22 def absent_and_late CORE::AbsentAndLate.new(@worker) end |
#companies ⇒ Object
26 27 28 |
# File 'lib/timedoctor/client.rb', line 26 def companies CORE::Companies.new(@worker) end |
#payrolls ⇒ Object
30 31 32 |
# File 'lib/timedoctor/client.rb', line 30 def payrolls CORE::Payrolls.new(@worker) end |
#poortime ⇒ Object
34 35 36 |
# File 'lib/timedoctor/client.rb', line 34 def poortime CORE::Poortime.new(@worker) end |
#projects ⇒ Object
38 39 40 |
# File 'lib/timedoctor/client.rb', line 38 def projects CORE::Projects.new(@worker) end |
#tasks ⇒ Object
42 43 44 |
# File 'lib/timedoctor/client.rb', line 42 def tasks CORE::Tasks.new(@worker) end |
#users ⇒ Object
46 47 48 |
# File 'lib/timedoctor/client.rb', line 46 def users CORE::Users.new(@worker) end |
#web_and_app ⇒ Object
50 51 52 |
# File 'lib/timedoctor/client.rb', line 50 def web_and_app CORE::WebAndApp.new(@worker) end |
#worklogs ⇒ Object
54 55 56 |
# File 'lib/timedoctor/client.rb', line 54 def worklogs CORE::Worklogs.new(@worker) end |