Class: Dryad::Core::ServiceInstance
- Inherits:
-
Object
- Object
- Dryad::Core::ServiceInstance
- Defined in:
- lib/dryad/core/service_instance.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#name ⇒ Object
Returns the value of attribute name.
-
#port ⇒ Object
Returns the value of attribute port.
-
#schema ⇒ Object
Returns the value of attribute schema.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ServiceInstance
constructor
A new instance of ServiceInstance.
Constructor Details
#initialize(options = {}) ⇒ ServiceInstance
Returns a new instance of ServiceInstance.
6 7 8 9 10 11 |
# File 'lib/dryad/core/service_instance.rb', line 6 def initialize( = {}) @name = [:name] @schema = [:schema] @address = [:address] @port = [:port] end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
4 5 6 |
# File 'lib/dryad/core/service_instance.rb', line 4 def address @address end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/dryad/core/service_instance.rb', line 4 def name @name end |
#port ⇒ Object
Returns the value of attribute port.
4 5 6 |
# File 'lib/dryad/core/service_instance.rb', line 4 def port @port end |
#schema ⇒ Object
Returns the value of attribute schema.
4 5 6 |
# File 'lib/dryad/core/service_instance.rb', line 4 def schema @schema end |