Method: LabClient::PipelineSchedule#update_variable

Defined in:
lib/labclient/projects/pipeline_schedules/pipeline_schedule.rb

#update_variable(variable_key, query = {}) ⇒ Object



42
43
44
45
# File 'lib/labclient/projects/pipeline_schedules/pipeline_schedule.rb', line 42

def update_variable(variable_key, query = {})
  project_id = collect_project_id
  client.projects.pipeline_schedules.variables.update(project_id, id, variable_key, body: query)
end