Class: Smith::Tools::UrlFetcher

Inherits:
Smith::Tool
  • Object
show all
Defined in:
lib/smith/tools/url_fetcher.rb

Constant Summary

Constants included from Smith::Tool::ScopedContext

Smith::Tool::ScopedContext::CONTEXT_KEYS

Instance Method Summary collapse

Methods inherited from Smith::Tool

authorize, before_execute, capabilities, category, compatible_with, #execute, inherited

Methods included from Smith::Tool::CaptureConfiguration

#capture_result, #capture_result_strict?

Methods included from Smith::Tool::ScopedContext

around, capture, #with_invocation_context

Instance Method Details

#perform(url:) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/smith/tools/url_fetcher.rb', line 11

def perform(url:)
  raise NotImplementedError, "#{self.class} requires a host-app implementation"
end