2018-09-29 22:34:47 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-12-07 12:15:01 +00:00
|
|
|
module API
|
|
|
|
module Helpers
|
|
|
|
module Pagination
|
2021-01-07 15:10:33 +00:00
|
|
|
def paginate(*args, **kwargs)
|
|
|
|
Gitlab::Pagination::OffsetPagination.new(self).paginate(*args, **kwargs)
|
2019-12-06 18:07:44 +00:00
|
|
|
end
|
2016-12-07 12:15:01 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|