module NoaaWeatherClient::SoapClientFactory
Constants
- WSDL
Public Class Methods
build_client(options = {})
click to toggle source
# File lib/noaa_weather_client/soap_client_factory.rb, line 7 def self.build_client(options = {}) provider = options.fetch(:provider, Savon) wsdl = options.fetch(:wsdl, WSDL) provider.client(wsdl: wsdl, log: false, open_timeout: 10, read_timeout: 30, ssl_verify_mode: :none) end