lib/active_shipping/carriers/usps.rb in active_shipping-1.14.2 vs lib/active_shipping/carriers/usps.rb in active_shipping-2.0.0

- old
+ new

@@ -1,7 +1,5 @@ -# -*- encoding: utf-8 -*- - module ActiveShipping # After getting an API login from USPS (looks like '123YOURNAME456'), # run the following test: # # usps = USPS.new(:login => '123YOURNAME456', :test => true) @@ -232,10 +230,10 @@ # Cannot test with find_rates because USPS doesn't allow that in test mode test_mode? ? canned_address_verification_works? : super end def maximum_weight - Mass.new(70, :pounds) + Measured::Weight.new(70, :pounds) end def extract_event_details(node) description = node.at('Event').text.upcase