Module: ForstokTrigger::Validity::Repository
- Defined in:
- 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: ValidityRepository
Class Method Summary collapse
Class Method Details
.client ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/forstok_trigger/validity/repository.rb', line 8 def self.client Mysql2::Client.new( host: configuration.host, port: configuration.port, username: configuration.username, password: configuration.password, database: configuration.db ) end |
.configuration ⇒ Object
18 19 20 |
# File 'lib/forstok_trigger/validity/repository.rb', line 18 def self.configuration @configuration ||= ForstokTrigger::Validity.configuration end |