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

Constructor Details

This class inherits a constructor from Koho::Client

Instance Method Details

#find(id) ⇒ Object



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

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

#find_by_project(project_id) ⇒ Object



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

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

#listObject



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

def list
  get '/'
end