summaryrefslogtreecommitdiff
path: root/lib/api/helpers/pagination.rb
blob: 227aec224e54698b49ad0db730d90479f2e48d5f (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)
        Gitlab::Pagination::OffsetPagination.new(self).paginate(*args)
      end
    end
  end
end