Class: VpnChoice::CreateAttachmentExecution
- Inherits:
-
AttachmentExecution
- Object
- AttachmentExecution
- VpnChoice::CreateAttachmentExecution
- 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
Constructor Details
This class inherits a constructor from VpnChoice::AttachmentExecution
Instance Method Details
#execute ⇒ Object
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 |
#verb ⇒ Object
97 98 99 |
# File 'lib/vagrant-skytap/api/vpn.rb', line 97 def verb 'Attach to and use' end |