Class: HttpRouter::Response

### Home Classes Methods

### In Files

- lib/http_router/response.rb

### Parent

Struct.new(:request, :path)

### Methods

- ::new
- #param_values
- #route

### Files

- LICENSE

### Class/Module Index

Quicksearch

- HttpRouter
- HttpRouter::GenerationHelper
- HttpRouter::Generator
- HttpRouter::Generator::PathGenerator
- HttpRouter::Node
- HttpRouter::Node::AbstractRequestNode
- HttpRouter::Node::FreeRegex
- HttpRouter::Node::Glob
- HttpRouter::Node::GlobRegex
- HttpRouter::Node::Host
- HttpRouter::Node::Lookup
- HttpRouter::Node::Path
- HttpRouter::Node::Regex
- HttpRouter::Node::RequestMethod
- HttpRouter::Node::Root
- HttpRouter::Node::Scheme
- HttpRouter::Node::SpanningRegex
- HttpRouter::Node::UserAgent
- HttpRouter::Node::Variable
- HttpRouter::RegexRouteGeneration
- HttpRouter::Request
- HttpRouter::Response
- HttpRouter::Route
- HttpRouter::RouteHelper
- HttpRouter::Util

No matching classes.

# HttpRouter::Response

### Attributes

params[R]

### Public Class Methods

new(request, path) click to toggle source

    # File lib/http_router/response.rb, line 4
    def initialize(request, path)
      super(request, path)
      @params = path.hashify_params(request.params)
    end

### Public Instance Methods

param_values() click to toggle source

    # File lib/http_router/response.rb, line 13
    def param_values
      request.params
    end

route() click to toggle source

    # File lib/http_router/response.rb, line 9
    def route
      path.route
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.