Class: VBox::VetoEvent

Inherits:
Event show all
Defined in:
lib/virtualbox/classes/events/veto_event.rb

Instance Attribute Summary

Attributes inherited from Base

#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 Method Details

#add_veto(args = {}) ⇒ Object

Methods



6
7
8
9
# File 'lib/virtualbox/classes/events/veto_event.rb', line 6

def add_veto(args={})
  ensure_hash args
  VBox::WebService.send_request(:i_veto_event_add_veto, _this.merge(args))
end

#get_vetosObject



11
12
13
# File 'lib/virtualbox/classes/events/veto_event.rb', line 11

def get_vetos
  VBox::WebService.send_request(:i_veto_event_get_vetos, _this)
end

#is_vetoedObject



15
16
17
# File 'lib/virtualbox/classes/events/veto_event.rb', line 15

def is_vetoed
  VBox::WebService.send_request(:i_veto_event_is_vetod, _this)
end