mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
29 lines
500 B
Ruby
29 lines
500 B
Ruby
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'vmfusion'))
|
|
require 'fog/compute'
|
|
|
|
module Fog
|
|
module Compute
|
|
class Vmfusion < Fog::Service
|
|
|
|
model_path 'fog/vmfusion/models/compute'
|
|
model :server
|
|
collection :servers
|
|
|
|
class Mock
|
|
|
|
def initialize(options={})
|
|
Fog::Mock.not_implemented
|
|
end
|
|
|
|
end
|
|
|
|
class Real
|
|
|
|
def initialize(options={})
|
|
require 'fission'
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|