Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

adds estimated_delivery_at #5

Merged
merged 1 commit into from
Mar 11, 2016
Merged

Conversation

emmafern
Copy link
Member

For this PR in FashionThing, I added an estimated_delivery_at variable that can be accessed from the Fedex::TrackingInformation class.

I can't get all the specs in lib/fedex/track_spec.rb to pass though so not sure if I need to do anything special.

@davetron5000 @jonathandean

@@ -29,7 +29,7 @@ class TrackingInformation
}

attr_reader :tracking_number, :signature_name, :service_type, :status,
:delivery_at, :events, :unique_tracking_number
:delivery_at, :events, :unique_tracking_number, :estimated_delivery_at

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't actually see estimated_delivery_at used anywhere in the fashionthing PR. It's using estimated_delivery_timestamp

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i told you this already but for the purposes of documentation:
i am replacing this line https://github.com/stitchfix/fashionthing/pull/980/files#diff-f7a570d3dfca86b346de504a175b2eceR33 with tracking_data.estimated_delivery_at.try(:to_date)

emmafern added a commit that referenced this pull request Mar 11, 2016
@emmafern emmafern merged commit ff3f0fa into master Mar 11, 2016
@emmafern emmafern deleted the add_estimated_delivery_timestamp branch March 11, 2016 23:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants