Module: RelaxedJob

Defined in:
lib/relaxed_job.rb

Defined Under Namespace

Classes: Queue, Worker

Class Method Summary collapse

Class Method Details

.couchdb(url) ⇒ Object



3
4
5
6
7
# File 'lib/relaxed_job.rb', line 3

def self.couchdb(url)
  database = CouchRest.database!(url)
  database.update_designs(File.join(File.dirname(__FILE__), 'relaxed_job', 'designs'))
  database
end