class Koho::Client::Projects

Public Instance Methods

create(params) click to toggle source
# File lib/koho.rb, line 161
def create params
  post '/', customer: params
end
destroy(id) click to toggle source
# File lib/koho.rb, line 169
def destroy id
  delete "/#{id}"
end
find(id) click to toggle source
# File lib/koho.rb, line 153
def find id
  get "/#{id}"
end
find_by_customer(customer_id) click to toggle source
# File lib/koho.rb, line 157
def find_by_customer customer_id
  get "/find_by_customer/#{customer_id}"
end
list() click to toggle source
# File lib/koho.rb, line 149
def list
  get '/'
end
permitted_projects() click to toggle source
# File lib/koho.rb, line 173
def permitted_projects
  get "/permitted_projects"
end
update(id, params) click to toggle source
# File lib/koho.rb, line 165
def update id, params
  put "/#{id}", customer: params
end