Class: NodeApiClient::Delete
- Inherits:
-
Object
- Object
- NodeApiClient::Delete
- Defined in:
- lib/dynalist/node_api_client.rb
Instance Method Summary collapse
-
#initialize(node) ⇒ Delete
constructor
A new instance of Delete.
- #to_query ⇒ Object
Constructor Details
#initialize(node) ⇒ Delete
Returns a new instance of Delete.
74 75 76 |
# File 'lib/dynalist/node_api_client.rb', line 74 def initialize(node) @node = node end |
Instance Method Details
#to_query ⇒ Object
78 79 80 81 82 83 |
# File 'lib/dynalist/node_api_client.rb', line 78 def to_query { action: "delete", node_id: @node.node_id } end |