Class: Neography::Rest::Clean
- Inherits:
-
Object
- Object
- Neography::Rest::Clean
- Extended by:
- Paths
- Includes:
- Helpers
- Defined in:
- lib/neography/rest/clean.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(connection) ⇒ Clean
constructor
A new instance of Clean.
Methods included from Paths
Methods included from Helpers
#get_id, #json_content_type, #parse_direction
Constructor Details
#initialize(connection) ⇒ Clean
Returns a new instance of Clean.
9 10 11 |
# File 'lib/neography/rest/clean.rb', line 9 def initialize(connection) @connection = connection end |
Instance Method Details
#execute ⇒ Object
13 14 15 |
# File 'lib/neography/rest/clean.rb', line 13 def execute @connection.delete(clean_path) end |