Module: ForstokTrigger::Validity

Defined in:
lib/forstok_trigger/validity.rb,
lib/forstok_trigger/validity/trigger.rb,
lib/forstok_trigger/validity/repository.rb,
lib/forstok_trigger/validity/repository/validity_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/validity.rb', line 9

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

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

Yields:



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

def self.configure
  yield(configuration)
end

.resetObject



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

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