Module: ActiveProxy

Defined in:
lib/active_proxy.rb,
lib/active_proxy/fetcher.rb,
lib/active_proxy/version.rb

Defined Under Namespace

Classes: Fetcher

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.call(proxy_key, cache_store, options = {}) ⇒ Object



12
13
14
15
16
# File 'lib/active_proxy.rb', line 12

def call(proxy_key, cache_store, options = {})
  ActiveProxy::Fetcher.new(proxy_key, cache_store, options).send(:call) do |fetcher|
    yield fetcher
  end
end