Skip to content
This repository was archived by the owner on Jun 13, 2018. It is now read-only.

Add cancel_shipment to the interface #374

Merged
merged 1 commit into from
May 18, 2016

Conversation

jonathanmwatson
Copy link
Contributor

We need to add cancel_shipment to the interface. Will create an issue to come back and add in actual functionality to all carriers we have implemented.

I think this is everything I need to get started. Let me know if you have any other context that I'm missing

@jonathankwok @RichardBlair @mdking @garethson @kmcphillips

# the carrier
# @return [ActiveShipping::ShipmentResponse] The response from the carrier. This
# response in most cases has a cancellation id.
def cancel_shipment(shipment_id)
Copy link
Contributor

Choose a reason for hiding this comment

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

Following with the existing pattern of the interface methods can you add a second argument options = {}

@jonathanmwatson jonathanmwatson force-pushed the adding-cancel-shipment-to-interface branch from f39f8cd to 5b88d08 Compare May 18, 2016 14:36
@jonathanmwatson jonathanmwatson force-pushed the adding-cancel-shipment-to-interface branch from 5b88d08 to 78a80be Compare May 18, 2016 14:39
@mdking
Copy link
Contributor

mdking commented May 18, 2016

👍

@garethson
Copy link
Contributor

Good idea. 👍

@jonathankwok
Copy link
Contributor

Looks good. 🚢

@jonathanmwatson jonathanmwatson merged commit fe978d6 into master May 18, 2016
@jonathanmwatson jonathanmwatson deleted the adding-cancel-shipment-to-interface branch May 18, 2016 16:27
maartenvg pushed a commit that referenced this pull request Nov 9, 2017
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.

4 participants