module Neography::Rest::Clean

Public Instance Methods

clean_database(sanity_check = "not_really") click to toggle source
# File lib/neography/rest/clean.rb, line 6
def clean_database(sanity_check = "not_really")
  if sanity_check == "yes_i_really_want_to_clean_the_database"
    @connection.delete("/cleandb/secret-key")
    true
  else
    false
  end          
end