Method: Dri::ApiClient#pipelines

Defined in:
lib/dri/api_client.rb

#pipelines(project_id:, options:, auto_paginate: false) ⇒ Array<Gitlab::ObjectifiedHash>

Fetch pipelines

Parameters:

  • project_id (Integer)

Returns:

  • (Array<Gitlab::ObjectifiedHash>)


245
246
247
248
249
250
251
# File 'lib/dri/api_client.rb', line 245

def pipelines(project_id:, options:, auto_paginate: false)
  if auto_paginate
    gitlab.pipelines(project_id, options).auto_paginate
  else
    gitlab.pipelines(project_id, options)
  end
end