Class: Faraday::RequestOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/faraday/options.rb

Instance Method Summary collapse

Instance Method Details

#[]=(key, value) ⇒ Object



195
196
197
198
199
200
201
# File 'lib/faraday/options.rb', line 195

def []=(key, value)
  if key && key.to_sym == :proxy
    super(key, value ? ProxyOptions.from(value) : nil)
  else
    super(key, value)
  end
end