Class: Servitor::ServiceGraphNode
- Inherits:
-
Object
- Object
- Servitor::ServiceGraphNode
- Defined in:
- lib/service/service_graph/service_graph_node.rb
Instance Attribute Summary collapse
-
#depended_on_by_nodes ⇒ Object
readonly
Returns the value of attribute depended_on_by_nodes.
-
#depends_on_nodes ⇒ Object
readonly
Returns the value of attribute depends_on_nodes.
-
#service_definition ⇒ Object
readonly
Returns the value of attribute service_definition.
Instance Method Summary collapse
-
#initialize(service_definition) ⇒ ServiceGraphNode
constructor
A new instance of ServiceGraphNode.
Constructor Details
#initialize(service_definition) ⇒ ServiceGraphNode
Returns a new instance of ServiceGraphNode.
7 8 9 10 11 |
# File 'lib/service/service_graph/service_graph_node.rb', line 7 def initialize(service_definition) @service_definition = service_definition @depends_on_nodes = [] @depended_on_by_nodes = [] end |
Instance Attribute Details
#depended_on_by_nodes ⇒ Object (readonly)
Returns the value of attribute depended_on_by_nodes.
5 6 7 |
# File 'lib/service/service_graph/service_graph_node.rb', line 5 def depended_on_by_nodes @depended_on_by_nodes end |
#depends_on_nodes ⇒ Object (readonly)
Returns the value of attribute depends_on_nodes.
5 6 7 |
# File 'lib/service/service_graph/service_graph_node.rb', line 5 def depends_on_nodes @depends_on_nodes end |
#service_definition ⇒ Object (readonly)
Returns the value of attribute service_definition.
5 6 7 |
# File 'lib/service/service_graph/service_graph_node.rb', line 5 def service_definition @service_definition end |