class GdsApi::Router

def add_gone_route(path, type, options = {})

def add_gone_route(path, type, options = {})
  response = put_json("#{endpoint}/routes", route: { incoming_path: path, route_type: type, handler: "gone" })
  commit_routes if options[:commit]
  response
end