Sha256: 02e857857370b9ac8518be367ab1cf4ac0d1af0f1a30052e646e8e888c2ce581
Contents?: true
Size: 535 Bytes
Versions: 21
Compression:
Stored size: 535 Bytes
Contents
module Fog module OpenStack class Baremetal class Real def delete_node(node_uuid) data = {:node_ident => node_uuid} request( :body => Fog::JSON.encode(data), :expects => [200, 204], :method => 'DELETE', :path => 'nodes' ) end end class Mock def delete_node(_node_uuid) response = Excon::Response.new response.status = 200 response end end end end end
Version data entries
21 entries across 21 versions & 3 rubygems