Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pagination.rb « helpers « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a6ae9a87f98a8b8dcaaed57dc3b744449c63b242 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

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