Browse Source

Add support for payment endpoint

Add ShopifyAPI::Payment resource
Emmanuel Milou 6 năm trước cách đây
mục cha
commit
244411295f
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      lib/shopify_api/resources/payment.rb

+ 7 - 0
lib/shopify_api/resources/payment.rb

@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+module ShopifyAPI
+  class Payment < Base
+    self.prefix = '/admin/checkouts/:checkout_id/'
+  end
+end