Module: HTTPX::Plugins::ResponseCache::OptionsMethods

Defined in:
lib/httpx/plugins/response_cache.rb

Instance Method Summary collapse

Instance Method Details

#option_response_cache_store(value) ⇒ Object

Raises:

  • (TypeError)


41
42
43
44
45
# File 'lib/httpx/plugins/response_cache.rb', line 41

def option_response_cache_store(value)
  raise TypeError, "must be an instance of #{Store}" unless value.is_a?(Store)

  value
end