Sha256: 06288db6b145a17bbf7c7bbd91cbd179b275a395a898d583df864970fedafa36
Contents?: true
Size: 843 Bytes
Versions: 25
Compression:
Stored size: 843 Bytes
Contents
module Fog module Baremetal class OpenStack class Real def unset_node_maintenance(node_uuid, parameters = nil) request( :expects => [200, 202, 204], :method => 'DELETE', :path => "nodes/#{node_uuid}/maintenance", :query => parameters ) end end class Mock def unset_node_maintenance(_node_uuid, _parameters = nil) response = Excon::Response.new response.status = 202 response.headers = { "X-Compute-Request-Id" => "req-fdc6f99e-55a2-4ab1-8904-0892753828cf", "Content-Type" => "application/json", "Content-Length" => "356", "Date" => Date.new } response end end end end end
Version data entries
25 entries across 23 versions & 3 rubygems