mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
19 lines
No EOL
432 B
Ruby
19 lines
No EOL
432 B
Ruby
module Fog
|
|
module Compute
|
|
class Brightbox
|
|
class Real
|
|
|
|
def resize_server(identifier, options = {})
|
|
request(
|
|
:expects => [202],
|
|
:method => 'POST',
|
|
:path => "/1.0/servers/#{identifier}/resize",
|
|
:headers => {"Content-Type" => "application/json"},
|
|
:body => Fog::JSON.encode(options)
|
|
)
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
end |