Sha256: 3a0e6044b5cf89fccba4480f04f9df1ff1cc217a10a77f21facca3d9b7025e7e
Contents?: true
Size: 534 Bytes
Versions: 39
Compression:
Stored size: 534 Bytes
Contents
module Fog module Baremetal class OpenStack 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
39 entries across 37 versions & 3 rubygems