debian-mirror-gitlab/lib/gitlab/pagination/base.rb
2020-03-09 13:42:32 +05:30

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