Class: Jiggler::BaseFetcher
- Inherits:
-
Object
- Object
- Jiggler::BaseFetcher
- Includes:
- Support::Helper
- Defined in:
- lib/jiggler/base_fetcher.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#collection ⇒ Object
readonly
Returns the value of attribute collection.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config, collection) ⇒ BaseFetcher
constructor
A new instance of BaseFetcher.
Methods included from Support::Helper
#log_error, #log_error_short, #logger, #safe_async, #scan_all, #tid
Constructor Details
#initialize(config, collection) ⇒ BaseFetcher
Returns a new instance of BaseFetcher.
9 10 11 12 |
# File 'lib/jiggler/base_fetcher.rb', line 9 def initialize(config, collection) @config = config @collection = collection end |
Instance Attribute Details
#collection ⇒ Object (readonly)
Returns the value of attribute collection.
7 8 9 |
# File 'lib/jiggler/base_fetcher.rb', line 7 def collection @collection end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
7 8 9 |
# File 'lib/jiggler/base_fetcher.rb', line 7 def config @config end |