lib/cc_api_stub/routes.rb in cfoundry-4.3.2.rc1 vs lib/cc_api_stub/routes.rb in cfoundry-4.3.3
- old
+ new
@@ -16,11 +16,11 @@
def collection_endpoint
%r{/v2/routes/?.*$}
end
- def object_endpoint
- %r{/v2/routes/[^/]+$}
+ def object_endpoint(id = nil)
+ %r{/v2/routes/#{id}[^/]+$}
end
end
end
end