Object
A compiled route for inspection.
# File lib/grape/route.rb, line 4 def initialize(options = {}) @options = options || {} end
# File lib/grape/route.rb, line 8 def method_missing(method_id, *arguments) match = /route_([_a-zA-Z]\w*)/.match(method_id.to_s) if match @options[match.captures.last.to_sym] else super end end
# File lib/grape/route.rb, line 17 def to_s "version=#{route_version}, method=#{route_method}, path=#{route_path}" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.