Преглед на файлове

Merge pull request #54 from Shopify/missing-resources

Add missing resources
Alex Coco преди 11 години
родител
ревизия
419bc321f9
променени са 3 файла, в които са добавени 10 реда и са изтрити 0 реда
  1. 4 0
      lib/shopify_api/resources/announcement.rb
  2. 3 0
      lib/shopify_api/resources/customer.rb
  3. 3 0
      lib/shopify_api/resources/order.rb

+ 4 - 0
lib/shopify_api/resources/announcement.rb

@@ -0,0 +1,4 @@
+module ShopifyAPI
+  class Announcement < Base
+  end
+end

+ 3 - 0
lib/shopify_api/resources/customer.rb

@@ -1,5 +1,8 @@
 module ShopifyAPI
   class Customer < Base
     include Metafields
+
+    class DefaultAddress < Base
+    end
   end
 end

+ 3 - 0
lib/shopify_api/resources/order.rb

@@ -17,5 +17,8 @@ module ShopifyAPI
     def capture(amount = "")
       Transaction.create(:amount => amount, :kind => "capture", :order_id => id)
     end
+
+    class ClientDetails < Base
+    end
   end
 end