Class: Koho::Client::ProjectTasks

Inherits:
Koho::Client show all
Defined in:
lib/koho.rb

Constant Summary

Constants inherited from Koho::Client

API_BASE_URL

Instance Attribute Summary

Attributes inherited from Koho::Client

#company_id, #token

Instance Method Summary collapse

Methods inherited from Koho::Client

#contracts, #customers, #delete, #get, #inbound_invoices, #info, #initialize, #invoice_terms, #invoices, #post, #project_tasks, #projects, #put, #work_sessions

Constructor Details

This class inherits a constructor from Koho::Client

Instance Method Details

#find(id) ⇒ Object



133
134
135
# File 'lib/koho.rb', line 133

def find id
  get "/#{id}"
end

#find_by_project(project_id) ⇒ Object



137
138
139
# File 'lib/koho.rb', line 137

def  find_by_project project_id
  get "/find_by_project/#{project_id}"
end

#listObject



129
130
131
# File 'lib/koho.rb', line 129

def list
  get '/'
end