class LabClient::ProjectService
Inspect Helper
Public Instance Methods
delete()
click to toggle source
# File lib/labclient/projects/services/project_service.rb, line 21 def delete project_id = collect_project_id client.projects.services.delete(project_id, slug) end
inspect()
click to toggle source
# File lib/labclient/projects/services/project_service.rb, line 6 def inspect "#<ProjectService slug: #{slug}, title: #{title}, active: #{active}>" end
project()
click to toggle source
# File lib/labclient/projects/services/project_service.rb, line 10 def project project_id = collect_project_id client.projects.show(project_id) end
update(query)
click to toggle source
# File lib/labclient/projects/services/project_service.rb, line 15 def update(query) project_id = collect_project_id update_self(client.projects.services.update(project_id, slug, query)) end