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