Class: PublicIpChoice::AttachAndUseExecution

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

Instance Attribute Summary

Attributes inherited from AttachmentExecution

#env, #iface, #ip

Instance Method Summary collapse

Methods inherited from AttachmentExecution

#initialize, make

Constructor Details

This class inherits a constructor from PublicIpChoice::AttachmentExecution

Instance Method Details

#executeObject


69
70
71
# File 'lib/vagrant-skytap/api/public_ip.rb', line 69

def execute
  iface.attach_public_ip(ip)
end

#verbObject


65
66
67
# File 'lib/vagrant-skytap/api/public_ip.rb', line 65

def verb
  'Attach and use'
end