Sha256: 283752bc9ab069280afd9f641da8f066913cc36cd8df053d737b2f0bef992e90
Contents?: true
Size: 440 Bytes
Versions: 1
Compression:
Stored size: 440 Bytes
Contents
module FedexLocationService class Response def self.build(message) if message.class == Savon::Response message.to_hash elsif message.class == Savon::SOAPFault original_message = message.to_hash custom_error_message = { search_locations_reply: { highest_severity: 'FATAL' } } original_message.merge(custom_error_message) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fedex_location_service-0.4.0 | lib/fedex_location_service/response.rb |