Class: VBox::SharedFolder

Inherits:
Base
  • Object
show all
Defined in:
lib/virtualbox/classes/shared_folder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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/shared_folder.rb', line 4

def ref
  @ref
end

Instance Method Details

#accessibleObject



16
17
18
# File 'lib/virtualbox/classes/shared_folder.rb', line 16

def accessible
  VBox::WebService.send_request(:i_shared_folder_get_accessible, _this)
end

#auto_mountObject



24
25
26
# File 'lib/virtualbox/classes/shared_folder.rb', line 24

def auto_mount
  VBox::WebService.send_request(:i_shared_folder_get_auto_mount, _this)
end

#host_pathObject



12
13
14
# File 'lib/virtualbox/classes/shared_folder.rb', line 12

def host_path
  VBox::WebService.send_request(:i_shared_folder_get_host_path, _this)
end

#last_access_errorObject



28
29
30
# File 'lib/virtualbox/classes/shared_folder.rb', line 28

def last_access_error
  VBox::WebService.send_request(:i_shared_folder_get_last_access_error, _this)
end

#nameObject

Attributes



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

def name
  VBox::WebService.send_request(:i_shared_folder_get_name, _this)
end

#writableObject



20
21
22
# File 'lib/virtualbox/classes/shared_folder.rb', line 20

def writable
  VBox::WebService.send_request(:i_shared_folder_get_writable, _this)
end