class LabClient::ProjectMirror
Inspect Helper
Public Instance Methods
inspect()
click to toggle source
# File lib/labclient/projects/mirrors/project_mirror.rb, line 6 def inspect "#<ProjectMirror id: #{id}, status: #{update_status}>" end
project()
click to toggle source
# File lib/labclient/projects/mirrors/project_mirror.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/mirrors/project_mirror.rb, line 15 def update(query) project_id = collect_project_id update_self client.projects.mirrors.update(project_id, id, query) end