ShippingEasy/shipping_easy-ruby

View on GitHub
lib/shipping_easy/resources/cancellation.rb

Summary

Maintainability
A
0 mins
Test Coverage
class ShippingEasy::Resources::Cancellation < ShippingEasy::Resources::Base

  command :create, http_method: :post do |args|
    "/stores/#{args.delete(:store_api_key)}/orders/#{args.delete(:external_order_identifier)}/cancellations"
  end

end