Created
December 24, 2017 18:15
-
-
Save cored/f52286c42bb33164585e5f424f21c8b6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def cancel_slot(courier_slot) | |
ez_shipment = EasyPost::Shipment.retrieve(courier.external_api_identifier) | |
ez_shipment.refund | |
ez_shipment | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment