Class: Reqless::Server

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

Overview

The Reqless web interface

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Server

Returns a new instance of Server.



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

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



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

def client
  @client
end