Module: HTTPX::Plugins::Upgrade::OptionsMethods
- Defined in:
- lib/httpx/plugins/upgrade.rb
Instance Method Summary collapse
Instance Method Details
#option_upgrade_handlers(value) ⇒ Object
26 27 28 29 30 |
# File 'lib/httpx/plugins/upgrade.rb', line 26 def option_upgrade_handlers(value) raise TypeError, ":upgrade_handlers must be a registry" unless value.respond_to?(:registry) value end |