Class: VagrantPlugins::Skytap::Connection::PublishedServiceChoice::CreateAndUseExecution

Inherits:
PublishedServiceExecution show all
Defined in:
lib/vagrant-skytap/connection/published_service_choice.rb

Instance Attribute Summary

Attributes inherited from PublishedServiceExecution

#service

Attributes inherited from Execution

#env, #iface

Instance Method Summary collapse

Methods inherited from PublishedServiceExecution

#initialize, make, #message

Methods inherited from Execution

#initialize, #make, #message

Constructor Details

This class inherits a constructor from VagrantPlugins::Skytap::Connection::PublishedServiceChoice::PublishedServiceExecution

Instance Method Details

#executeObject



93
94
95
# File 'lib/vagrant-skytap/connection/published_service_choice.rb', line 93

def execute
  @service = iface.create_published_service(DEFAULT_PORT)
end

#verbObject



89
90
91
# File 'lib/vagrant-skytap/connection/published_service_choice.rb', line 89

def verb
  I18n.t("vagrant_skytap.connections.published_service.verb_create_and_use")
end