Module: ForstokTrigger::Qc

Defined in:
lib/forstok_trigger/qc.rb,
lib/forstok_trigger/qc/trigger.rb,
lib/forstok_trigger/qc/repository.rb,
lib/forstok_trigger/qc/repository/qc_repository.rb

Overview

Class Trigger is main class for run perform

Defined Under Namespace

Modules: Repository, Trigger

Class Method Summary collapse

Class Method Details

.configurationObject



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

def self.configuration
  @configuration ||= ForstokTrigger::Configuration::QcConfiguration.new
end

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

Yields:



17
18
19
# File 'lib/forstok_trigger/qc.rb', line 17

def self.configure
  yield(configuration)
end

.resetObject



13
14
15
# File 'lib/forstok_trigger/qc.rb', line 13

def self.reset
  @configuration = ForstokTrigger::Configuration::QcConfiguration.new
end