Class: Qless::Server
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Qless::Server
- Defined in:
- lib/qless/server.rb
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.
21 22 23 24 |
# File 'lib/qless/server.rb', line 21 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
19 20 21 |
# File 'lib/qless/server.rb', line 19 def client @client end |