Sha256: 46ca26a34c25746990ecedf713192f25d9e3b9237225886bbaeed1a74efcc857
Contents?: true
Size: 543 Bytes
Versions: 10
Compression:
Stored size: 543 Bytes
Contents
module Fog module Baremetal class OpenStack class Real def delete_node(node_uuid) data = { :node_uuid => 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
10 entries across 10 versions & 2 rubygems