Class: Typekit::Routing::Node::Base
- Inherits:
-
Object
- Object
- Typekit::Routing::Node::Base
show all
- Defined in:
- lib/typekit/routing/node/base.rb
Instance Method Summary
collapse
Instance Method Details
#append(child) ⇒ Object
5
6
7
|
# File 'lib/typekit/routing/node/base.rb', line 5
def append(child)
children << child
end
|
#assemble(request, path) ⇒ Object
9
10
11
12
13
|
# File 'lib/typekit/routing/node/base.rb', line 9
def assemble(request, path)
process(request, path)
return authorize(request) if path.empty?
lookup!(path.first).assemble(request, path)
end
|
#match(name) ⇒ Object
15
16
|
# File 'lib/typekit/routing/node/base.rb', line 15
def match(name)
end
|
#permitted?(request) ⇒ Boolean
21
22
|
# File 'lib/typekit/routing/node/base.rb', line 21
def permitted?(request)
end
|
#process(request, path) ⇒ Object
18
19
|
# File 'lib/typekit/routing/node/base.rb', line 18
def process(request, path)
end
|