Class: Pluto::Fetcher
- Inherits:
-
Object
- Object
- Pluto::Fetcher
- Includes:
- LogUtils::Logging
- Defined in:
- lib/pluto/fetcher.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#opts ⇒ Object
readonly
Returns the value of attribute opts.
Instance Method Summary collapse
-
#initialize(opts, config) ⇒ Fetcher
constructor
A new instance of Fetcher.
- #run ⇒ Object
Constructor Details
#initialize(opts, config) ⇒ Fetcher
Returns a new instance of Fetcher.
8 9 10 11 |
# File 'lib/pluto/fetcher.rb', line 8 def initialize( opts, config ) @opts = opts @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
13 14 15 |
# File 'lib/pluto/fetcher.rb', line 13 def config @config end |
#opts ⇒ Object (readonly)
Returns the value of attribute opts.
13 14 15 |
# File 'lib/pluto/fetcher.rb', line 13 def opts @opts end |