Permalink
Browse files

removing debugger in on_trac and gsub in fedex that was causing the x…

…ml to become malformed
  • Loading branch information...
1 parent ebce540 commit a873e5fe40293adf9efc37ec9027d5e92dff0eb6 @ricaurte ricaurte committed Jul 3, 2013
View
2 lib/active_shipping/shipping/carriers/fedex.rb
@@ -157,7 +157,7 @@ def find_tracking_info(tracking_number, options={})
def create_shipment(origin, destination, package, options = {})
options = @options.update(options)
- shipment_request = build_shipment_request(origin, destination, package, options).gsub(/<(\/)?.*?\:(.*?)>/, '<\1\2>')
+ shipment_request = build_shipment_request(origin, destination, package, options)
response = commit(save_request(shipment_request), (options[:test] || false))
View
1 lib/active_shipping/shipping/carriers/on_trac.rb
@@ -79,7 +79,6 @@ def find_tracking_info(tracking_numbers, options = {})
:requestType => type,
:tn => tracking_numbers.class == String ? tracking_numbers : tracking_numbers.join(',')
}.merge(options))
- debugger
result = Hash.from_xml(save_request(ssl_get(url)))
response = case type.to_sym
when :details then

0 comments on commit a873e5f

Please sign in to comment.