Class: Lotus::Routing::ClassEndpoint Private
- Defined in:
- lib/lotus/routing/endpoint.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Routing endpoint This is the object that responds to an HTTP request made against a certain path.
The router will use this class for:
* Classes
* Lotus::Action endpoints referenced as a class
* Lotus::Action endpoints referenced a string
* RESTful resource(s)
Instance Method Summary collapse
-
#call(env) ⇒ Object
private
Rack interface.
Methods inherited from Endpoint
Instance Method Details
#call(env) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Rack interface
80 81 82 |
# File 'lib/lotus/routing/endpoint.rb', line 80 def call(env) __getobj__.new.call(env) end |