Sha256: 391aef831218c44a6d2f6975523f1157fdd1578ae9aff5f665a4dbf0dd6fc228
Contents?: true
Size: 775 Bytes
Versions: 1
Compression:
Stored size: 775 Bytes
Contents
module Topographer class Importer module Logger class LogEntry attr_reader :input_identifier, :model_name def initialize(input_identifier, model_name, import_status) @input_identifier = input_identifier @model_name = model_name @import_status = import_status end def source_identifier @import_status.input_identifier end def message @import_status.message end def timestamp @import_status.timestamp end def details @import_status.errors end def success? !failure? end def failure? @import_status.errors? end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
topographer-0.0.8 | lib/topographer/importer/logger/log_entry.rb |