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