lib/active_shipping/carriers/usps.rb in active_shipping-1.2.2 vs lib/active_shipping/carriers/usps.rb in active_shipping-1.3.0

- old
+ new

@@ -254,9 +254,14 @@ zoneless_time = Time.utc(time.year, time.month, time.mday, time.hour, time.min, time.sec) location = Location.new(city: city, state: state, postal_code: zip_code, country: country) EventDetails.new(description, time, zoneless_time, location, event_code) end + def maximum_address_field_length + # https://www.usps.com/business/web-tools-apis/address-information-api.pdf + 38 + end + protected def build_tracking_request(tracking_number, options = {}) build_tracking_batch_request([{ number: tracking_number,