Class: VBox::HostUSBDeviceFilter

Inherits:
USBDeviceFilter show all
Defined in:
lib/virtualbox/classes/host_usb_device_filter.rb

Instance Attribute Summary

Attributes inherited from Base

#ref

Instance Method Summary collapse

Methods inherited from USBDeviceFilter

#active, #active=, #manufacturer, #manufacturer=, #masked_interfaces, #masked_interfaces=, #name, #name=, #port, #port=, #product, #product=, #product_id, #product_id=, #remote, #remote=, #revision, #revision=, #serial_number, #serial_number=, #vendor_id, #vendor_id=

Methods inherited from Base

#_this, #delete!, #ensure_hash, #initialize, #vbox_class

Constructor Details

This class inherits a constructor from VBox::Base

Instance Method Details

#actionObject

Attributes



6
7
8
# File 'lib/virtualbox/classes/host_usb_device_filter.rb', line 6

def action
  VBox::WebService.send_request(:i_host_usb_device_filter_get_action, _this)
end

#action=(action) ⇒ Object



10
11
12
# File 'lib/virtualbox/classes/host_usb_device_filter.rb', line 10

def action=(action)
  VBox::WebService.send_request(:i_host_usb_device_filter_set_action, _this.merge(:action => action))
end