lib/seko/client.rb in seko-0.0.4 vs lib/seko/client.rb in seko-0.0.5
- old
+ new
@@ -49,14 +49,10 @@
# for now we are manually sorting the distribution centre
# see #inventory_response below
#
# def get_inventory(warehouse = nil)
# @service = 'stock'
- # @endpoint = if warehouse.nil?
- # "all"
- # else
- # "dc/#{warehouse}"
- # end
+ # @endpoint = warehouse.nil? ? "all" : "dc/#{warehouse}"
# inventory_response
# end
#
# def inventory_response
# response = get