Sha256: 533fc93580470781c32566c272f651a6358d8dfaa04194ac5b04f5d5bcc7871a
Contents?: true
Size: 455 Bytes
Versions: 14
Compression:
Stored size: 455 Bytes
Contents
module Fog module Compute class RackspaceV2 class Real def resize_server(server_id, flavor_id) data = { 'resize' => { 'flavorRef' => flavor_id } } request( :body => Fog::JSON.encode(data), :expects => [202], :method => 'POST', :path => "servers/#{server_id}/action" ) end end end end end
Version data entries
14 entries across 14 versions & 7 rubygems