Class: Rasti::Web::Endpoint
- Inherits:
-
Object
- Object
- Rasti::Web::Endpoint
- Defined in:
- lib/rasti/web/endpoint.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(&block) ⇒ Endpoint
constructor
A new instance of Endpoint.
Constructor Details
#initialize(&block) ⇒ Endpoint
Returns a new instance of Endpoint.
5 6 7 |
# File 'lib/rasti/web/endpoint.rb', line 5 def initialize(&block) @block = block end |