class RackStep::Route
Attributes
Public Class Methods
Source
# File lib/route.rb, line 11 def initialize(verb, path, controller) @verb = verb @path = path @controller = controller end
Public Instance Methods
Source
# File lib/route.rb, line 18 def id verb + path end
Unique id (String) of the route (verb + path). Eg: ‘GETuser’.