Method: EQ::Queueing::Backends::Sequel#initialize

Defined in:
lib/eq-queueing/backends/sequel.rb

#initialize(config) ⇒ Sequel

establishes the connection to the database and ensures that the jobs table is created



17
18
19
20
# File 'lib/eq-queueing/backends/sequel.rb', line 17

def initialize config
  connect config
  create_table_if_not_exists!
end