Class: OvirtSDK4::ErrorHandling
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::ErrorHandling
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (ErrorHandling) initialize(opts = {})
constructor
Creates a new instance of the ErrorHandling class.
-
- (MigrateOnError) on_error
Returns the value of the
on_error
attribute. -
- (Object) on_error=(value)
Sets the value of the
on_error
attribute.
Methods included from Type
Constructor Details
- (ErrorHandling) initialize(opts = {})
Creates a new instance of the OvirtSDK4::ErrorHandling class.
2596 2597 2598 2599 |
# File 'lib/ovirtsdk4/types.rb', line 2596 def initialize(opts = {}) super(opts) self.on_error = opts[:on_error] end |
Instance Method Details
- (MigrateOnError) on_error
Returns the value of the on_error
attribute.
2573 2574 2575 |
# File 'lib/ovirtsdk4/types.rb', line 2573 def on_error return @on_error end |
- (Object) on_error=(value)
Sets the value of the on_error
attribute.
2582 2583 2584 |
# File 'lib/ovirtsdk4/types.rb', line 2582 def on_error=(value) @on_error = value end |