Sha256: c5e578e03267cb08f56077d69d17bdf8f23a7d3eedd93ae9b21f9cb8c529929c
Contents?: true
Size: 434 Bytes
Versions: 4
Compression:
Stored size: 434 Bytes
Contents
module Fog module Compute class HuaweiCloud class Real def reboot_server(server_id, type = 'SOFT') body = {'reboot' => {'type' => type}} server_action(server_id, body) end end class Mock def reboot_server(_server_id, _type = 'SOFT') response = Excon::Response.new response.status = 202 response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems