mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
16 lines
327 B
Ruby
16 lines
327 B
Ruby
module Fog
|
|
module Compute
|
|
class Joyent
|
|
class Real
|
|
def resize_machine(id, package)
|
|
request(
|
|
:method => "POST",
|
|
:path => "/my/machines/#{id}",
|
|
:query => {"action" => "resize", "package" => package},
|
|
:expects => [202]
|
|
)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|