Class: RudeQ::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/rude_q/client.rb

Instance Method Summary (collapse)

Constructor Details

- (Client) initialize(*args)

Returns a new instance of Client



6
# File 'lib/rude_q/client.rb', line 6

def initialize(*args); super(); end

Instance Method Details

- (Object) get(key)



8
# File 'lib/rude_q/client.rb', line 8

def get(key); RudeQueue.get(key); end

- (Object) set(key, value)



7
# File 'lib/rude_q/client.rb', line 7

def set(key, value); RudeQueue.set(key, value); end

- (Object) stats



9
# File 'lib/rude_q/client.rb', line 9

def stats; ActiveRecord::Base.connection; end