Class: VagrantPlugins::Skytap::API::PublishedService

Inherits:
Resource show all
Defined in:
lib/vagrant-skytap/api/published_service.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#attrs, #env

Instance Method Summary collapse

Methods inherited from Resource

#refresh, #reload, resource_name, #url

Methods included from SpecifiedAttributes

#get_api_attribute, included

Constructor Details

#initialize(attrs, interface, env) ⇒ PublishedService

Returns a new instance of PublishedService.



79
80
81
82
# File 'lib/vagrant-skytap/api/published_service.rb', line 79

def initialize(attrs, interface, env)
  super
  @interface = interface
end

Instance Attribute Details

#interfaceObject (readonly)

Returns the value of attribute interface.



75
76
77
# File 'lib/vagrant-skytap/api/published_service.rb', line 75

def interface
  @interface
end

Instance Method Details

#choice_for_setupObject



84
85
86
# File 'lib/vagrant-skytap/api/published_service.rb', line 84

def choice_for_setup
  PublishedServiceChoice.new(env, self)
end