debian-mirror-gitlab/lib/api/helpers/pagination.rb
2020-03-09 13:42:32 +05:30

11 lines
212 B
Ruby

# frozen_string_literal: true
module API
module Helpers
module Pagination
def paginate(relation)
Gitlab::Pagination::OffsetPagination.new(self).paginate(relation)
end
end
end
end