Sha256: 2e8ec3196ee09e45d4b88e6e8128bd9f51f63542e6853f66bffbf84474317b44

Contents?: true

Size: 240 Bytes

Versions: 7

Compression:

Stored size: 240 Bytes

Contents

class ShippingEasy::Resources::Cancellation < ShippingEasy::Resources::Base

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

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shipping_easy-0.5.0 lib/shipping_easy/resources/cancellation.rb
shipping_easy-0.3.2 lib/shipping_easy/resources/cancellation.rb
shipping_easy-0.3.1 lib/shipping_easy/resources/cancellation.rb
shipping_easy-0.3.0 lib/shipping_easy/resources/cancellation.rb
shipping_easy-0.2.2 lib/shipping_easy/resources/cancellation.rb
shipping_easy-0.2.1 lib/shipping_easy/resources/cancellation.rb
shipping_easy-0.2.0 lib/shipping_easy/resources/cancellation.rb