Class: Qless::Server
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Qless::Server
- Defined in:
- lib/qless/server.rb
Overview
The Qless web interface
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
I’m not sure what this option is – I’ll look it up later set :static, true.
Instance Method Summary collapse
-
#initialize(client) ⇒ Server
constructor
A new instance of Server.
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
#client ⇒ Object (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 |