gitlab-org--gitlab-foss/lib/gitlab/pagination/base.rb

15 lines
268 B
Ruby

# frozen_string_literal: true
module Gitlab
module Pagination
class Base
def paginate(relation)
raise NotImplementedError
end
def finalize(records)
# Optional: Called with the actual set of records
end
end
end
end