Class: TreeHaver::EditProjectionOperationRequest
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::EditProjectionOperationRequest
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#operation ⇒ Object
Returns the value of attribute operation.
-
#replacement_source ⇒ Object
Returns the value of attribute replacement_source.
-
#target_node_id ⇒ Object
Returns the value of attribute target_node_id.
-
#target_node_path ⇒ Object
Returns the value of attribute target_node_path.
Instance Method Summary collapse
Instance Attribute Details
#operation ⇒ Object
Returns the value of attribute operation
404 405 406 |
# File 'lib/tree_haver/contracts.rb', line 404 def operation @operation end |
#replacement_source ⇒ Object
Returns the value of attribute replacement_source
404 405 406 |
# File 'lib/tree_haver/contracts.rb', line 404 def replacement_source @replacement_source end |
#target_node_id ⇒ Object
Returns the value of attribute target_node_id
404 405 406 |
# File 'lib/tree_haver/contracts.rb', line 404 def target_node_id @target_node_id end |
#target_node_path ⇒ Object
Returns the value of attribute target_node_path
404 405 406 |
# File 'lib/tree_haver/contracts.rb', line 404 def target_node_path @target_node_path end |
Instance Method Details
#to_h ⇒ Object
406 407 408 409 410 411 412 413 |
# File 'lib/tree_haver/contracts.rb', line 406 def to_h { operation: operation, target_node_id: target_node_id, target_node_path: target_node_path, replacement_source: replacement_source } end |