Class: VagrantPlugins::Skytap::API::PublishedService
- 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
Instance Method Summary collapse
- #choice_for_setup ⇒ Object
-
#initialize(attrs, interface, env) ⇒ PublishedService
constructor
A new instance of PublishedService.
Methods inherited from Resource
#refresh, #reload, resource_name, #url
Methods included from SpecifiedAttributes
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
#interface ⇒ Object (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_setup ⇒ Object
84 85 86 |
# File 'lib/vagrant-skytap/api/published_service.rb', line 84 def choice_for_setup PublishedServiceChoice.new(env, self) end |