class GdsApi::Router
def delete_route(path, hard_delete: false, commit: false)
def delete_route(path, hard_delete: false, commit: false) url = "#{endpoint}/routes?incoming_path=#{CGI.escape(path)}" url += "&hard_delete=true" if hard_delete response = delete_json(url) commit_routes if commit response end