Sha256: 0c3dac7932443562e25d2cb660582351860ae6bc9fb65d4384a709bd40e08244
Contents?: true
Size: 536 Bytes
Versions: 4
Compression:
Stored size: 536 Bytes
Contents
module Fog module Baremetal class HuaweiCloud class Real def delete_port(port_uuid) data = {:port_uuid => port_uuid} request( :body => Fog::JSON.encode(data), :expects => [200, 204], :method => 'DELETE', :path => 'ports' ) end end class Mock def delete_port(_port_uuid) response = Excon::Response.new response.status = 200 response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems