mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
22 lines
484 B
Ruby
22 lines
484 B
Ruby
module Fog
|
|
module Voxel
|
|
class Compute
|
|
class Real
|
|
|
|
require 'fog/compute/parsers/voxel/voxcloud_create'
|
|
|
|
def voxcloud_create(options)
|
|
options[:parser] = Fog::Parsers::Voxel::Compute::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
|