Sha256: 40f89f88ba367ad5940e811f35266444a9cce5f81020cb4e4175b58b9b3433fb
Contents?: true
Size: 679 Bytes
Versions: 24
Compression:
Stored size: 679 Bytes
Contents
# frozen_string_literal: true module MasterDataTool module Report class VerifyReport include Core attr_reader :reports def initialize(master_data) super(master_data) @reports = [] end def append(verify_record_report) @reports << verify_record_report end def print(printer) @reports.each do |report| printer.print(convert_to_ltsv(report)) end end class << self def build_verify_record_report(master_data, record, valid) {operation: :verify, table_name: master_data.table_name, valid: valid, id: record.id} end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems