module Rails::RFC6570::Helper
Public Instance Methods
Source
# File lib/rails/rfc6570.rb, line 94 def rfc6570_route(name, **opts) route = _routes.named_routes[name] raise KeyError.new "No named routed for `#{name}'." unless route route.to_rfc6570(**opts, ctx: self) end
Source
# File lib/rails/rfc6570.rb, line 90 def rfc6570_routes(**opts) _routes.named_routes.to_rfc6570(**opts, ctx: self) end