summaryrefslogtreecommitdiff
path: root/lib/api/helpers/pagination.rb
blob: 48618e7d26d8dcb3c98434eea0d28a65ea498018 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module API
  module Helpers
    module Pagination
      def paginate(*args, **kwargs)
        Gitlab::Pagination::OffsetPagination.new(self).paginate(*args, **kwargs)
      end
    end
  end
end