Explorar o código

Add support for shipping_rates endpoint

New ActiveResource ShopifyAPI::ShippingRate
Emmanuel Milou %!s(int64=6) %!d(string=hai) anos
pai
achega
bc5a3a5f0c
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      lib/shopify_api/resources/shipping_rate.rb

+ 5 - 0
lib/shopify_api/resources/shipping_rate.rb

@@ -0,0 +1,5 @@
+module ShopifyAPI
+  class ShippingRate < Base
+    self.prefix = '/admin/checkouts/:checkout_id/'
+  end
+end