Class: Fog::Compute::Ovirt::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.



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

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

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(symbol, *args) ⇒ Object

rubocop:disable Style/MethodMissing



91
92
93
# File 'lib/fog/ovirt/compute.rb', line 91

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

Instance Method Details

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

Returns:

  • (Boolean)


95
96
97
# File 'lib/fog/ovirt/compute.rb', line 95

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