Sha256: 28be1aeb4ba4aeccaec2ccd080c2091b1e5ca335c4544719600b77162466a527
Contents?: true
Size: 513 Bytes
Versions: 20
Compression:
Stored size: 513 Bytes
Contents
module Fog module OpenStack class Compute class Real # Suspend the server. # # === Parameters # * server_id <~String> - The ID of the server to suspend. # === Returns # * success <~Boolean> def suspend_server(server_id) body = {'suspend' => nil} server_action(server_id, body).status == 202 end end class Mock def suspend_server(_server_id) true end end end end end
Version data entries
20 entries across 20 versions & 3 rubygems