Class: Sqew::Server
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Sqew::Server
- Defined in:
- lib/sqew/server.rb
Instance Method Summary collapse
-
#initialize(manager) ⇒ Server
constructor
A new instance of Server.
- #route_missing ⇒ Object
Constructor Details
#initialize(manager) ⇒ Server
Returns a new instance of Server.
4 5 6 7 |
# File 'lib/sqew/server.rb', line 4 def initialize(manager) super @manager = manager end |
Instance Method Details
#route_missing ⇒ Object
9 10 11 |
# File 'lib/sqew/server.rb', line 9 def route_missing raise Sinatra::NotFound end |