Class: VBox::HostUSBDevice

Inherits:
USBDevice show all
Defined in:
lib/virtualbox/classes/host_usb_device.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from USBDevice

#address, #id, #manufacturer, #port, #port_version, #product, #product_id, #remote, #revision, #serial_number, #vendor_id, #version

Methods inherited from Base

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

Constructor Details

This class inherits a constructor from VBox::Base

Instance Attribute Details

#refObject (readonly)

Returns the value of attribute ref.



4
5
6
# File 'lib/virtualbox/classes/host_usb_device.rb', line 4

def ref
  @ref
end

Instance Method Details

#stateObject

Attributes



8
9
10
# File 'lib/virtualbox/classes/host_usb_device.rb', line 8

def state
  VBox::WebService.send_request(:i_host_usb_device_get_state, _this)
end