Module: HTTPX::Plugins::NTLMAuthentication::OptionsMethods

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

Instance Method Summary collapse

Instance Method Details

#option_ntlm(value) ⇒ Object

Raises:

  • (TypeError)


23
24
25
26
27
# File 'lib/httpx/plugins/ntlm_authentication.rb', line 23

def option_ntlm(value)
  raise TypeError, ":ntlm must be a #{NTLMParams}" unless value.is_a?(NTLMParams)

  value
end