Created
December 24, 2017 18:34
-
-
Save cored/7daed174a0add5434c8ca7004295271e 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
class CancelSlot | |
def self.call(courier) | |
ez_shipment = EasyPost::Shipment.retrieve(courier.external_api_identifier) | |
ez_shipment.refund | |
ez_shipment | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment