Sha256: 00641258f95d48c29c25fa3417cf5dbea04aa55837a8ad1e6b7008100a1c35bf

Contents?: true

Size: 307 Bytes

Versions: 3

Compression:

Stored size: 307 Bytes

Contents

module CSVImporter
  # The configuration of a CSVImporter
  class Config
    include Virtus.model

    attribute :model
    attribute :column_definitions, Array[ColumnDefinition], default: proc { [] }
    attribute :identifier, Symbol
    attribute :when_invalid, Symbol, default: proc { :skip }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
csv-importer-0.1.2 lib/csv_importer/config.rb
csv-importer-0.1.1 lib/csv_importer/config.rb
csv-importer-0.1.0 lib/csv_importer/config.rb