Skip to content
Browse files

adding the hash of the response to the fedex ShippingResponse returne…

…d for create_shipment
  • Loading branch information...
1 parent a79016d commit d56d7e7cf08d87f3f1e47b64fed90029c06d883f @ricaurte ricaurte committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/active_shipping/shipping/carriers/fedex.rb
View
4 lib/active_shipping/shipping/carriers/fedex.rb
@@ -569,7 +569,7 @@ def parse_shipping_response(response, options)
# Hash.from_xml(response).values.first
- ShippingResponse.new(success, message, {}, {
+ ShippingResponse.new(success, message, Hash.from_xml(response), {
:carrier => @@name,
:test => test_mode?,
:test => options[:test],
@@ -584,7 +584,7 @@ def parse_shipping_response(response, options)
:package => package
})
else
- ShippingResponse.new(success, message, {}, {
+ ShippingResponse.new(success, message, Hash.from_xml(response), {
:xml => response,
:request => last_request,
:test => test_mode?

0 comments on commit d56d7e7

Please sign in to comment.
Something went wrong with that request. Please try again.