Sha256: c279b6ee2645034a51928c8f11076f418e4d0b06435dbff1773cc167722ea58a
Contents?: true
Size: 537 Bytes
Versions: 4
Compression:
Stored size: 537 Bytes
Contents
module Fog module Baremetal class HuaweiCloud 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
4 entries across 4 versions & 1 rubygems