Class: VBox::VetoEvent
- Defined in:
- lib/virtualbox/classes/events/veto_event.rb
Direct Known Subclasses
CanShowWindowEvent, ExtraDataCanChangeEvent, ExtraDataChangedEvent
Instance Attribute Summary collapse
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
Instance Method Summary collapse
Methods inherited from Event
#set_processed, #source, #type, #wait_processed, #waitable
Methods inherited from Base
#_this, #delete!, #ensure_hash, #initialize, #vbox_class
Constructor Details
This class inherits a constructor from VBox::Base
Instance Attribute Details
#ref ⇒ Object (readonly)
Returns the value of attribute ref.
4 5 6 |
# File 'lib/virtualbox/classes/events/veto_event.rb', line 4 def ref @ref end |
Instance Method Details
#add_veto(args = {}) ⇒ Object
Methods
8 9 10 11 |
# File 'lib/virtualbox/classes/events/veto_event.rb', line 8 def add_veto(args={}) ensure_hash(args) VBox::WebService.send_request(:i_veto_event_add_veto, _this.merge(args)) end |
#get_vetos ⇒ Object
13 14 15 |
# File 'lib/virtualbox/classes/events/veto_event.rb', line 13 def get_vetos VBox::WebService.send_request(:i_veto_event_get_vetos, _this) end |
#is_vetoed ⇒ Object
17 18 19 |
# File 'lib/virtualbox/classes/events/veto_event.rb', line 17 def is_vetoed VBox::WebService.send_request(:i_veto_event_is_vetod, _this) end |