Class: Ddr::IngestTools::DdrRdrMigrator::WorkNester
- Inherits:
-
Object
- Object
- Ddr::IngestTools::DdrRdrMigrator::WorkNester
- Defined in:
- lib/ddr/ingesttools/ddr_rdr_migrator/work_nester.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
-
#manifest ⇒ Object
readonly
Returns the value of attribute manifest.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(logger: nil, manifest:) ⇒ WorkNester
constructor
A new instance of WorkNester.
Constructor Details
#initialize(logger: nil, manifest:) ⇒ WorkNester
Returns a new instance of WorkNester.
6 7 8 9 |
# File 'lib/ddr/ingesttools/ddr_rdr_migrator/work_nester.rb', line 6 def initialize(logger: nil, manifest:) @logger = logger || Logger.new(STDOUT) @manifest = manifest end |
Instance Attribute Details
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
4 5 6 |
# File 'lib/ddr/ingesttools/ddr_rdr_migrator/work_nester.rb', line 4 def logger @logger end |
#manifest ⇒ Object (readonly)
Returns the value of attribute manifest.
4 5 6 |
# File 'lib/ddr/ingesttools/ddr_rdr_migrator/work_nester.rb', line 4 def manifest @manifest end |
Instance Method Details
#call ⇒ Object
11 12 13 14 |
# File 'lib/ddr/ingesttools/ddr_rdr_migrator/work_nester.rb', line 11 def call nest_works manifest end |