add order to ShopifyAPI::SmartCollection
@@ -6,5 +6,10 @@ module ShopifyAPI
def products
Product.find(:all, :params => {:collection_id => self.id})
end
+
+ def order(options={})
+ load_attributes_from_response(put(:order, options, only_id))
+ end