Class: VpnChoice::CreateAttachmentExecution

Inherits:
AttachmentExecution show all
Defined in:
lib/vagrant-skytap/api/vpn.rb

Instance Attribute Summary

Attributes inherited from AttachmentExecution

#attachment, #env, #iface, #vpn

Instance Method Summary collapse

Methods inherited from AttachmentExecution

#initialize, make

Constructor Details

This class inherits a constructor from VpnChoice::AttachmentExecution

Instance Method Details

#executeObject



101
102
103
104
# File 'lib/vagrant-skytap/api/vpn.rb', line 101

def execute
  @attachment = VagrantPlugins::Skytap::API::VpnAttachment.create(iface.network, vpn, env)
  @attachment.connect!
end

#verbObject



97
98
99
# File 'lib/vagrant-skytap/api/vpn.rb', line 97

def verb
  'Attach to and use'
end