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