Class: Abqari::Importers::Base::Options
- Inherits:
-
Struct
- Object
- Struct
- Abqari::Importers::Base::Options
- Defined in:
- lib/abqari/importers/base.rb
Overview
Options affecting the writer pipeline. Keep this struct lean — CLI flags map directly onto it. Adding a knob here means exposing it on the CLI too.
Instance Attribute Summary collapse
-
#collection ⇒ Object
Returns the value of attribute collection.
-
#download_images ⇒ Object
Returns the value of attribute download_images.
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#flat ⇒ Object
Returns the value of attribute flat.
-
#force ⇒ Object
Returns the value of attribute force.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#site_root ⇒ Object
Returns the value of attribute site_root.
-
#strip_selectors ⇒ Object
Returns the value of attribute strip_selectors.
-
#write_canonical ⇒ Object
Returns the value of attribute write_canonical.
Instance Attribute Details
#collection ⇒ Object
Returns the value of attribute collection
44 45 46 |
# File 'lib/abqari/importers/base.rb', line 44 def collection @collection end |
#download_images ⇒ Object
Returns the value of attribute download_images
44 45 46 |
# File 'lib/abqari/importers/base.rb', line 44 def download_images @download_images end |
#dry_run ⇒ Object
Returns the value of attribute dry_run
44 45 46 |
# File 'lib/abqari/importers/base.rb', line 44 def dry_run @dry_run end |
#flat ⇒ Object
Returns the value of attribute flat
44 45 46 |
# File 'lib/abqari/importers/base.rb', line 44 def flat @flat end |
#force ⇒ Object
Returns the value of attribute force
44 45 46 |
# File 'lib/abqari/importers/base.rb', line 44 def force @force end |
#logger ⇒ Object
Returns the value of attribute logger
44 45 46 |
# File 'lib/abqari/importers/base.rb', line 44 def logger @logger end |
#site_root ⇒ Object
Returns the value of attribute site_root
44 45 46 |
# File 'lib/abqari/importers/base.rb', line 44 def site_root @site_root end |
#strip_selectors ⇒ Object
Returns the value of attribute strip_selectors
44 45 46 |
# File 'lib/abqari/importers/base.rb', line 44 def strip_selectors @strip_selectors end |
#write_canonical ⇒ Object
Returns the value of attribute write_canonical
44 45 46 |
# File 'lib/abqari/importers/base.rb', line 44 def write_canonical @write_canonical end |