Sha256: 1a1340fd627f48d37c9ec29c9fb292e0ada64f97d7823f00b6763347e4d07ae0
Contents?: true
Size: 1.04 KB
Versions: 7
Compression:
Stored size: 1.04 KB
Contents
module Fog module Compute class VirtualBox < Fog::Service model_path 'fog/compute/models/virtual_box' model :medium collection :mediums model :medium_format model :nat_engine model :nat_redirect collection :nat_redirects model :network_adapter collection :network_adapters model :server collection :servers model :storage_controller collection :storage_controllers class Mock def initialize(options={}) Fog::Mock.not_implemented end end class Real def initialize(options={}) require 'virtualbox' @connection = ::VirtualBox::Global.global.lib.virtualbox end # hack to provide 'requests' def method_missing(method_sym, *arguments, &block) if @connection.respond_to?(method_sym) @connection.send(method_sym, *arguments) else super end end end end end end
Version data entries
7 entries across 7 versions & 3 rubygems