Class: Vagrant::Machine
- Inherits:
-
Object
- Object
- Vagrant::Machine
- Defined in:
- lib/vagrant-vcloudair.rb
Instance Attribute Summary collapse
-
#vappid ⇒ Object
Returns the value of attribute vappid.
Instance Method Summary collapse
-
#get_vapp_id ⇒ vAppId
This returns the vCloud Air vApp ID.
Instance Attribute Details
#vappid ⇒ Object
Returns the value of attribute vappid.
21 22 23 |
# File 'lib/vagrant-vcloudair.rb', line 21 def vappid @vappid end |
Instance Method Details
#get_vapp_id ⇒ vAppId
This returns the vCloud Air vApp ID.
54 55 56 57 58 59 60 61 |
# File 'lib/vagrant-vcloudair.rb', line 54 def get_vapp_id vappid_file = @data_dir.join('../../../vcloudair_vappid') if vappid_file.file? @vappid = vappid_file.read.chomp else nil end end |