Method: Dri::ApiClient#fetch_mrs

Defined in:
lib/dri/api_client.rb

#fetch_mrs(project_id:, **options) ⇒ Object

Fetch MRs

Parameters:

  • options (Hash<String>)

Options Hash (**options):

  • state (String)
  • order_by (String)
  • sort (String)
  • milestone (String)
  • labels (String)

See Also:



130
131
132
# File 'lib/dri/api_client.rb', line 130

def fetch_mrs(project_id:, **options)
  gitlab.merge_requests(project_id, per_page: 100, **options).auto_paginate
end