Class: Purview::Pullers::Base

Inherits:
Object
  • Object
show all
Includes:
Mixins::Logger
Defined in:
lib/purview/pullers/base.rb

Direct Known Subclasses

BaseSQL, URI

Instance Method Summary collapse

Methods included from Mixins::Logger

#logger, #logger_opts, #logger_type, #with_context_logging

Constructor Details

#initialize(opts = {}) ⇒ Base

Returns a new instance of Base.



4
5
6
# File 'lib/purview/pullers/base.rb', line 4

def initialize(opts={})
  @opts = opts
end

Instance Method Details

#pull(window) ⇒ Object



8
9
10
# File 'lib/purview/pullers/base.rb', line 8

def pull(window)
  raise %{All "#{Base}(s)" must override the "pull" method}
end