Class: APIClientBase::BuildTyphoeusOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/api_client_base/services/build_typhoeus_options.rb

Class Method Summary collapse

Class Method Details

.call(opts = {}) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/api_client_base/services/build_typhoeus_options.rb', line 4

def self.call(opts={})
  if opts[:proxy].blank?
    opts = opts.except(:proxy)
  end

  opts
end