# File lib/fog/clodo/requests/compute/delete_ip_address.rb, line 28 def delete_ip_address(server_id, ip) server = self.data[:servers][server_id] raise Excon::Errors::BadRequest.new "Server not found" unless server pa = server['addresses']['public'] raise Excon::Errors::BadRequest.new "Address not found" unless pa && pa.reject! {|addr| addr['ip'] == ip } response = Excon::Response.new response.status = 204 response end