1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/compute/requests/voxel/voxcloud_create.rb

22 lines
484 B
Ruby

module Fog
module Compute
class Voxel
class Real
require 'fog/compute/parsers/voxel/voxcloud_create'
def voxcloud_create(options)
options[:parser] = Fog::Parsers::Compute::Voxel::VoxcloudCreate.new
if options.has_key?(:password)
options[:admin_password] = options[:password]
options.delete(:password)
end
request("voxel.voxcloud.create", options)
end
end
end
end
end