Sha256: bc9d10f4a8b6cc59908bf1bec60ca1f130aa6a32f32a6e43b18a6998fe7a990a

Contents?: true

Size: 590 Bytes

Versions: 1

Compression:

Stored size: 590 Bytes

Contents

module MasterDataTool
  class SpecConfig
    attr_accessor :spec_name, :application_record_class, :import_config, :verify_config, :dump_config, :logger

    def initialize(spec_name:, application_record_class:, import_config: nil, verify_config: nil, dump_config: nil, logger: Logger.new(nil))

      @spec_name = spec_name.presence || ''
      @application_record_class = application_record_class
      @import_config = import_config
      @verify_config = verify_config
      @dump_config = dump_config
      @logger = logger
    end

    def configure
      yield self
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
master_data_tool-0.23.0 lib/master_data_tool/spec_config.rb