class GdsApi::Router
def add_route(path, type, backend_id)
def add_route(path, type, backend_id) put_json( "#{endpoint}/routes", route: { incoming_path: path, route_type: type, handler: "backend", backend_id:, }, ) end
def add_route(path, type, backend_id) put_json( "#{endpoint}/routes", route: { incoming_path: path, route_type: type, handler: "backend", backend_id:, }, ) end