1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# 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