class RocketJob::Category::Output
Define the layout for each category of input or output data
Public Instance Methods
data_store(job)
click to toggle source
# File lib/rocket_job/category/output.rb, line 26 def data_store(job) RocketJob::Sliced::Output.new( collection_name: build_collection_name(:output, job), slice_class: serializer_class ) end
render_header()
click to toggle source
Renders [String] the header line. Returns [nil] if no header is needed.
# File lib/rocket_job/category/output.rb, line 20 def render_header return if !tabular? || !tabular.requires_header? tabular.render_header end