Class: Fog::Compute::Ovirt::Real
- Inherits:
-
Object
- Object
- Fog::Compute::Ovirt::Real
- Defined in:
- lib/fog/ovirt/compute.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Real
constructor
A new instance of Real.
-
#method_missing(symbol, *args) ⇒ Object
rubocop:disable Style/MethodMissing.
- #respond_to?(symbol, include_all = false) ⇒ Boolean
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( = {}) Fog::Compute::Ovirt::V3::Real.send(:include, Fog::Compute::Ovirt::Collections) @client = Fog::Compute::Ovirt::V3::Real.new() 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
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 |