Class: Qless::Server

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Server

Returns a new instance of Server.



21
22
23
24
# File 'lib/qless/server.rb', line 21

def initialize(client)
  @client = client
  super
end

Instance Attribute Details

#clientObject (readonly)

I’m not sure what this option is – I’ll look it up later set :static, true



19
20
21
# File 'lib/qless/server.rb', line 19

def client
  @client
end