Explorar el Código

Add Order::DefaultAddress and Client::ClientDetails resources

Alex Coco hace 11 años
padre
commit
ce84bffdbb
Se han modificado 2 ficheros con 6 adiciones y 0 borrados
  1. 3 0
      lib/shopify_api/resources/customer.rb
  2. 3 0
      lib/shopify_api/resources/order.rb

+ 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