lib/ne_api.rb in ne_api-0.0.11 vs lib/ne_api.rb in ne_api-0.0.12

- old
+ new

@@ -113,10 +113,10 @@ fields ||= req[:fields].gsub(/^\s*/,req[:prefix]+"_").gsub(/,\s*/,","+@@params[model][:prefix]+"_") fields= fields get_key = "data" when "info" query = nil - when "update", "upload", "receipted", "shipped", "labelprinted" + when "update", "upload", "receipted", "shipped", "labelprinted", "add" get_key = "result" when "divide" get_key = "receive_order_id" when "checkconnect" fields = nil