Classes: InventoryError
5 6 7 8
# File 'lib/luna_api/inventory.rb', line 5 def self.update(id, change=-1) response = LunaApi::Request.put("http://inventory.lunasandals.com/inventory-change", :params => {:sku => id, change: change ||= -1}) handle_response(response) end