Module: ForstokTrigger::Export::Repository
- Defined in:
- lib/forstok_trigger/export/repository.rb,
lib/forstok_trigger/export/repository/export_repository.rb
Overview
Class Trigger is main class for run perform
Defined Under Namespace
Modules: ExportRepository
Class Method Summary collapse
Class Method Details
.client ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/forstok_trigger/export/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/export/repository.rb', line 18 def self.configuration @configuration ||= ForstokTrigger::Export.configuration end |