Class: FedexLocationService::Response
- Inherits:
-
Object
- Object
- FedexLocationService::Response
- Defined in:
- lib/fedex_location_service/response.rb
Class Method Summary collapse
Class Method Details
.build(message) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/fedex_location_service/response.rb', line 3 def self.build() if .class == Savon::Response .to_hash elsif .class == Savon::SOAPFault = .to_hash = { search_locations_reply: { highest_severity: 'FATAL' } } .merge() end end |