Class: Fog::Ovirt::Compute::Real

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/ovirt/compute.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Real

Returns a new instance of Real.



84
85
86
87
# File 'lib/fog/ovirt/compute.rb', line 84

def initialize(options = {})
  Fog::Ovirt::Compute::V4::Real.include Fog::Ovirt::Compute::Collections
  @client = Fog::Ovirt::Compute::V4::Real.new(options)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(symbol, *args) ⇒ Object



89
90
91
# File 'lib/fog/ovirt/compute.rb', line 89

def method_missing(symbol, *args)
  @client.send(symbol, *args)
end

Instance Method Details

#respond_to?(symbol, include_all = false) ⇒ Boolean

Returns:

  • (Boolean)


93
94
95
# File 'lib/fog/ovirt/compute.rb', line 93

def respond_to?(symbol, include_all = false)
  @client.respond_to?(symbol, include_all)
end