Class: Purview::Pullers::URI

Inherits:
Base show all
Defined in:
lib/purview/pullers/uri.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from Mixins::Logger

#logger, #logger_opts, #logger_type, #with_context_logging

Constructor Details

This class inherits a constructor from Purview::Pullers::Base

Instance Method Details

#pull(window) ⇒ Object



4
5
6
7
8
9
# File 'lib/purview/pullers/uri.rb', line 4

def pull(window)
  request = windowed_request(window)
  with_context_logging("`pull` from: #{request.path}") do
    http.request(request).body
  end
end