lib/fedex/tracking_information.rb in fedex-3.6.1 vs lib/fedex/tracking_information.rb in fedex-3.8.0

- old
+ new

@@ -27,19 +27,20 @@ SHIPPER_REFERENCE STANDARD_MPS } attr_reader :tracking_number, :signature_name, :service_type, :status, - :delivery_at, :events, :unique_tracking_number, :details + :delivery_at, :events, :unique_tracking_number, :details, :other_identifiers def initialize(details = {}) @details = details @tracking_number = details[:tracking_number] @unique_tracking_number = details[:tracking_number_unique_identifier] @signature_name = details[:delivery_signature_name] @service_type = details[:service_type] @status = details[:status_description] + @other_identifiers = details[:other_identifiers] if details.has_key?(:actual_delivery_timestamp) @delivery_at = Time.parse(details[:actual_delivery_timestamp]) end