lib/shippinglogic/fedex/response.rb in binarylogic-shippinglogic-0.9.0 vs lib/shippinglogic/fedex/response.rb in binarylogic-shippinglogic-1.0.0
- old
+ new
@@ -14,10 +14,10 @@
end
end
# Was the response a success?
def success?(response)
- response.is_a?(Hash) && ["SUCCESS", "NOTE"].include?(response[:highest_severity])
+ response.is_a?(Hash) && ["SUCCESS", "NOTE", "WARNING"].include?(response[:highest_severity])
end
# Cleans the response and returns it in a more 'user friendly' format that is easier
# to work with.
def clean_response(response)
\ No newline at end of file