Sha256: 5267e9ebc8da782812b1a7143b1ea36abb7d198b5291a3ab8438e7f686d38f9a
Contents?: true
Size: 316 Bytes
Versions: 22
Compression:
Stored size: 316 Bytes
Contents
module Que::Web::Viewmodels class JobList extend Forwardable attr_reader :page_jobs, :pager def_delegators :@pager, :total, :next_page, :prev_page, :current_page, :page_count def initialize(page_jobs, pager) @page_jobs = page_jobs.map{|j| Job.new(j)} @pager = pager end end end
Version data entries
22 entries across 22 versions & 1 rubygems