Class: Truss::Router::Routes::Head
- Defined in:
- lib/truss/router/routes/head.rb
Instance Attribute Summary
Attributes inherited from Node
#endpoint, #matchable_regex, #options, #path, #request_method
Instance Method Summary collapse
-
#initialize(path, endpoint, opts = {}) ⇒ Head
constructor
A new instance of Head.
Methods inherited from Node
Constructor Details
#initialize(path, endpoint, opts = {}) ⇒ Head
Returns a new instance of Head.
5 6 7 |
# File 'lib/truss/router/routes/head.rb', line 5 def initialize(path, endpoint, opts={}) super(:head, path, endpoint, opts) end |