Class: Abqari::Importers::Base::Options

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#collectionObject

Returns the value of attribute collection

Returns:

  • (Object)

    the current value of collection



44
45
46
# File 'lib/abqari/importers/base.rb', line 44

def collection
  @collection
end

#download_imagesObject

Returns the value of attribute download_images

Returns:

  • (Object)

    the current value of download_images



44
45
46
# File 'lib/abqari/importers/base.rb', line 44

def download_images
  @download_images
end

#dry_runObject

Returns the value of attribute dry_run

Returns:

  • (Object)

    the current value of dry_run



44
45
46
# File 'lib/abqari/importers/base.rb', line 44

def dry_run
  @dry_run
end

#flatObject

Returns the value of attribute flat

Returns:

  • (Object)

    the current value of flat



44
45
46
# File 'lib/abqari/importers/base.rb', line 44

def flat
  @flat
end

#forceObject

Returns the value of attribute force

Returns:

  • (Object)

    the current value of force



44
45
46
# File 'lib/abqari/importers/base.rb', line 44

def force
  @force
end

#loggerObject

Returns the value of attribute logger

Returns:

  • (Object)

    the current value of logger



44
45
46
# File 'lib/abqari/importers/base.rb', line 44

def logger
  @logger
end

#site_rootObject

Returns the value of attribute site_root

Returns:

  • (Object)

    the current value of site_root



44
45
46
# File 'lib/abqari/importers/base.rb', line 44

def site_root
  @site_root
end

#strip_selectorsObject

Returns the value of attribute strip_selectors

Returns:

  • (Object)

    the current value of strip_selectors



44
45
46
# File 'lib/abqari/importers/base.rb', line 44

def strip_selectors
  @strip_selectors
end

#write_canonicalObject

Returns the value of attribute write_canonical

Returns:

  • (Object)

    the current value of write_canonical



44
45
46
# File 'lib/abqari/importers/base.rb', line 44

def write_canonical
  @write_canonical
end