# File lib/right_gogrid.rb, line 447 def list_ips(state=nil, type=nil) #In this one we'll convert keys to string since they require a "." in it (not supported by symbols) opts = {} opts["ip.state"] = state if state opts["ip.type"] = type if type request_hash = generate_request("grid/ip/list", opts) request_cache_or_info(:list_ips, request_hash, GogridJsonParser, !(state || type)) rescue on_exception end