Module: ForstokTrigger::Qc::Repository
- Defined in:
- 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: QcRepository
Class Method Summary collapse
Class Method Details
.client ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/forstok_trigger/qc/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/qc/repository.rb', line 18 def self.configuration @configuration ||= ForstokTrigger::Qc.configuration end |