Amber::DSL::Router
Constants
RESOURCES = [:get, :post, :put, :patch, :delete, :options, :head, :trace, :connect]
Constructors
Instance methods
clone
Sourcecopy_with(router _router = @router, valve _valve = @valve, scope _scope = @scope)
Sourcerouter
scope
valve
websocket(path, app_socket)
SourceMacros
connect(*args)
Sourcedelete(*args)
Sourceget(*args)
Sourcehead(*args)
Sourcenamespace(scoped_namespace)
Sourceoptions(*args)
Sourcepatch(*args)
Sourcepost(*args)
Sourceput(*args)
Sourcetrace(*args)
Source