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

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

Instance Attribute Summary collapse

Attributes inherited from Resource

#attrs, #env

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Connectable

#choice_for_setup, #connection_choice_class

Methods inherited from Resource

#delete, #refresh, #reload, short_name, #update, #url

Methods included from SpecifiedAttributes

#get_api_attribute, included

Constructor Details

#initialize(attrs, interface, env) ⇒ PublishedService



40
41
42
43
# File 'lib/vagrant-skytap/api/published_service.rb', line 40

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

Instance Attribute Details

#interfaceObject (readonly)

Returns the value of attribute interface.



32
33
34
# File 'lib/vagrant-skytap/api/published_service.rb', line 32

def interface
  @interface
end

Class Method Details

.rest_nameObject



36
37
38
# File 'lib/vagrant-skytap/api/published_service.rb', line 36

def self.rest_name
  "published_service"
end