Class: Qless::Server

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

Overview

The Qless web interface

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Server

Returns a new instance of Server.



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

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



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

def client
  @client
end