Sha256: 82f5b29184ffc72f6a47bb6ab81803b90a5ec87e02c4a38b851da1d0ed1452ad
Contents?: true
Size: 544 Bytes
Versions: 13
Compression:
Stored size: 544 Bytes
Contents
module Fog module Baremetal class OpenStack 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
13 entries across 13 versions & 2 rubygems