Class: VagrantPlugins::Skytap::API::PublishedService
- Includes:
- Connectable
- Defined in:
- lib/vagrant-skytap/api/published_service.rb
Instance Attribute Summary collapse
-
#interface ⇒ Object
readonly
Returns the value of attribute interface.
Attributes inherited from Resource
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attrs, interface, env) ⇒ PublishedService
constructor
A new instance of PublishedService.
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
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
#interface ⇒ Object (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_name ⇒ Object
36 37 38 |
# File 'lib/vagrant-skytap/api/published_service.rb', line 36 def self.rest_name "published_service" end |