Method: Gitlab::Client::PipelineSchedules#pipeline_schedule

Defined in:
lib/gitlab/client/pipeline_schedules.rb

#pipeline_schedule(project, id) ⇒ Gitlab::ObjectifiedHash

Gets a single pipeline schedule.

Examples:

Gitlab.pipeline_schedule(5, 3)

Parameters:

  • project (Integer, String)

    The ID or name of a project.

  • id (Integer)

    The ID of the pipeline schedule.

Returns:



29
30
31
# File 'lib/gitlab/client/pipeline_schedules.rb', line 29

def pipeline_schedule(project, id)
  get("/projects/#{url_encode project}/pipeline_schedules/#{id}")
end