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)


57
58
59
60
61
# File 'lib/httpx/plugins/response_cache.rb', line 57

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

  value
end