Class: Truss::Router::Routes::Delete

Inherits:
Node
  • Object
show all
Defined in:
lib/truss/router/routes/delete.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 = {}) ⇒ Delete

Returns a new instance of Delete.



5
6
7
# File 'lib/truss/router/routes/delete.rb', line 5

def initialize(path, endpoint, opts={})
    super(:delete, path, endpoint, opts)
end