Module: Thincloud::Resque

Defined in:
lib/thincloud-resque.rb,
lib/thincloud/resque/engine.rb,
lib/thincloud/resque/version.rb,
lib/thincloud/resque/resqueable.rb,
lib/thincloud/resque/configuration.rb

Defined Under Namespace

Modules: Resqueable Classes: Configuration, Engine

Constant Summary collapse

VERSION =
"0.1.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



4
5
6
# File 'lib/thincloud/resque/configuration.rb', line 4

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



7
8
9
10
11
# File 'lib/thincloud/resque/configuration.rb', line 7

def self.configure
  self.configuration ||= Configuration.new
  yield configuration if block_given?
  configuration
end