module Biro::Utils::Soap
Public Instance Methods
savon_options()
click to toggle source
# File lib/biro/utils/soap.rb, line 22 def savon_options {} end
soap()
click to toggle source
# File lib/biro/utils/soap.rb, line 6 def soap default_options = { wsdl: wsdl, convert_request_keys_to: :none, logger: Biro.config.logger, log_level: :debug, log: true } @savon ||= Savon.client(default_options.merge(savon_options)) end
wsdl()
click to toggle source
# File lib/biro/utils/soap.rb, line 18 def wsdl url = Biro.development? ? self.development_url : self.production_url end