Class: Sqew::Server

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/sqew/server.rb

Instance Method Summary collapse

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_missingObject

Raises:

  • (Sinatra::NotFound)


9
10
11
# File 'lib/sqew/server.rb', line 9

def route_missing
  raise Sinatra::NotFound
end