Class: Faraday::RequestOptions

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

Instance Method Summary collapse

Instance Method Details

#[]=(key, value) ⇒ Object



207
208
209
210
211
212
213
# File 'lib/faraday/options.rb', line 207

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