Sha256: 09577214d20a480330e7f99352b0ca82c7316fcc536098e8e300bd3443937f29
Contents?: true
Size: 625 Bytes
Versions: 14
Compression:
Stored size: 625 Bytes
Contents
module Fog module Compute class OpenStack class Real # Shelve the server. # # === Parameters # * server_id <~String> - The ID of the server to be shelved # === Returns # * success <~Boolean> def shelve_server(server_id) body = {'shelve' => nil} server_action(server_id, body).status == 202 end # def shelve_server end # class Real class Mock def shelve_server(_server_id) true end # def shelve_server end # class Mock end # class OpenStack end # module Compute end # module Fog
Version data entries
14 entries across 14 versions & 1 rubygems