Sha256: 26e384a0ee4f5e2065455265c5af99c0ee19557f93cc32029dec843352caee8a
Contents?: true
Size: 543 Bytes
Versions: 23
Compression:
Stored size: 543 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
23 entries across 23 versions & 3 rubygems