Sha256: f7eeec53c3d526363b6f07c232197ca83cded851aa6382068a2e14a5bf75af2c
Contents?: true
Size: 371 Bytes
Versions: 6
Compression:
Stored size: 371 Bytes
Contents
class Topographer::Importer::Mapper::Result attr_reader :data, :errors, :source_identifier def initialize(source_identifier) @source_identifier = source_identifier @data = {} @errors = {} end def add_data (key, value) @data[key] = value end def add_error (key, value) @errors[key] = value end def errors? errors.any? end end
Version data entries
6 entries across 6 versions & 1 rubygems