Class: VagrantPlugins::Skytap::VmProperties
- Inherits:
-
Properties
- Object
- Properties
- VagrantPlugins::Skytap::VmProperties
- Defined in:
- lib/vagrant-skytap/vm_properties.rb
Instance Attribute Summary
Attributes inherited from Properties
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Properties
#initialize, read, #read, write, #write
Constructor Details
This class inherits a constructor from VagrantPlugins::Skytap::Properties
Class Method Details
.filename ⇒ Object
28 29 30 |
# File 'lib/vagrant-skytap/vm_properties.rb', line 28 def self.filename 'vm' end |
Instance Method Details
#ssh_info ⇒ Object
32 33 34 35 36 37 38 39 40 41 |
# File 'lib/vagrant-skytap/vm_properties.rb', line 32 def ssh_info return {} unless properties @ssh_info ||= { username: properties['username'], password: properties['password'], host: properties['host'], port: properties['port'], } end |