Module: Backgrounded

Defined in:
lib/backgrounded.rb,
lib/backgrounded/proxy.rb,
lib/backgrounded/railtie.rb,
lib/backgrounded/version.rb,
lib/backgrounded/object_extensions.rb,
lib/backgrounded/handler/no_op_handler.rb,
lib/backgrounded/active_record_extension.rb,
lib/backgrounded/handler/inprocess_handler.rb

Defined Under Namespace

Modules: ActiveRecordExtension, Handler, ObjectExtensions Classes: Proxy, Railtie

Constant Summary collapse

VERSION =
'2.1.2'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.handlerObject

Returns the value of attribute handler.



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

def handler
  @handler
end

.loggerObject

Returns the value of attribute logger.



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

def logger
  @logger
end

Class Method Details

.configurationObject



15
16
17
# File 'lib/backgrounded.rb', line 15

def configuration
  self
end

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

Yields:



11
12
13
# File 'lib/backgrounded.rb', line 11

def configure
  yield configuration
end