Class: Truss::Router::Routes::Options

Inherits:
Node
  • Object
show all
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

Methods inherited from Node

#call, #matches?

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