Class: Hanami::Router::GlobbedPath
- Defined in:
- gems/gems/hanami-router-2.1.0/lib/hanami/router/globbed_path.rb
Overview
Instance Method Summary collapse
- #endpoint_and_params(env) ⇒ Object
-
#initialize(http_method, path, to) ⇒ GlobbedPath
constructor
A new instance of GlobbedPath.
Constructor Details
#initialize(http_method, path, to) ⇒ GlobbedPath
Returns a new instance of GlobbedPath
Source: | on GitHub
def initialize(http_method, path, to) @http_method = http_method @path = path @to = to end |