Module: InteractorSupport

Extended by:
ActiveSupport::Concern
Defined in:
lib/interactor_support.rb,
lib/interactor_support/core.rb,
lib/interactor_support/actions.rb,
lib/interactor_support/version.rb,
lib/interactor_support/validations.rb,
lib/interactor_support/configuration.rb,
lib/interactor_support/request_object.rb,
lib/interactor_support/concerns/findable.rb,
lib/interactor_support/concerns/skippable.rb,
lib/interactor_support/concerns/updatable.rb,
lib/interactor_support/concerns/transformable.rb,
lib/interactor_support/concerns/transactionable.rb

Overview

lib/interactor_support/version.rb

Defined Under Namespace

Modules: Actions, Concerns, Core, RequestObject, Validations Classes: Configuration

Constant Summary collapse

VERSION =
'1.0.3'

Class Method Summary collapse

Class Method Details

.configurationInteractorSupport::Configuration

Returns the global InteractorSupport configuration object.



68
69
70
# File 'lib/interactor_support.rb', line 68

def configuration
  @configuration ||= Configuration.new
end

.configure {|config| ... } ⇒ void

This method returns an undefined value.

Allows external configuration of InteractorSupport.

Yield Parameters:



59
60
61
62
# File 'lib/interactor_support.rb', line 59

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