Method: LabClient::PipelineSchedule#create_variable

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

#create_variable(query = {}) ⇒ Object

Vars



37
38
39
40
# File 'lib/labclient/projects/pipeline_schedules/pipeline_schedule.rb', line 37

def create_variable(query = {})
  project_id = collect_project_id
  client.projects.pipeline_schedules.variables.create(project_id, id, body: query)
end