Class: ChaskiqRubyClient::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/chaskiqRubyClient/config.rb

Class Method Summary collapse

Class Method Details

.configure!Object



13
14
15
16
17
18
19
20
# File 'lib/chaskiqRubyClient/config.rb', line 13

def self.configure!
  begin
  #we will rescue this in order to allow rails g chaskiq:install works
  rescue Chaskiq::ConfigError => e
    puts e
    puts e.message
  end
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



9
10
11
# File 'lib/chaskiqRubyClient/config.rb', line 9

def self.setup
  yield self
end