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