Sha256: 1e59e81ace4a38aa3d84a6b58e53e28a84799cd12a54f421e7cfac23dcd98d47
Contents?: true
Size: 825 Bytes
Versions: 5
Compression:
Stored size: 825 Bytes
Contents
# frozen_string_literal: true # # Copyright (c) 2020-present, Blue Marble Payroll, LLC # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # module Burner # Describes a file that was generated by a Job. If a Job emits a file, it should also add the # file details to the Payload#written_files array using the Payload#add_written_file method. class WrittenFile acts_as_hashable attr_reader :logical_filename, :physical_filename, :time_in_seconds def initialize(logical_filename:, physical_filename:, time_in_seconds:) @logical_filename = logical_filename.to_s @physical_filename = physical_filename.to_s @time_in_seconds = time_in_seconds.to_f freeze end end end
Version data entries
5 entries across 5 versions & 1 rubygems