debian-mirror-gitlab/lib/api/helpers/pagination.rb

12 lines
226 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
module API
module Helpers
module Pagination
2021-03-08 18:12:59 +05:30
def paginate(*args, **kwargs)
Gitlab::Pagination::OffsetPagination.new(self).paginate(*args, **kwargs)
2020-01-01 13:55:28 +05:30
end
2017-08-17 22:00:37 +05:30
end
end
end