Sha256: 2dd3574079960af2dcb6db7aeb55251430819f0e4797b7eccd3b8ca67181d891

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

module FedexLocationService
  class Request
    def self.call(message)
      client = Savon.client(wsdl: FedexLocationService.configuration.wsdl)

      begin
        @response = client.call(:search_locations, message: message)
      rescue Savon::SOAPFault => error
        puts error.http.inspect
      end

      return @response
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fedex_location_service-0.2.0 lib/fedex_location_service/request.rb
fedex_location_service-0.1.1 lib/fedex_location_service/request.rb
fedex_location_service-0.1.0 lib/fedex_location_service/request.rb