Class: Qless::Server

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

Class Method Summary collapse

Class Method Details

.clientObject

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 self.client
  @client ||= Qless::Client.new
end

.client=(client) ⇒ Object



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

def self.client=(client)
  @client = client
end