Module: PolylingoChat
- Defined in:
- lib/polylingo_chat.rb,
lib/polylingo_chat/config.rb,
lib/polylingo_chat/engine.rb,
lib/polylingo_chat/railtie.rb,
lib/polylingo_chat/version.rb,
lib/polylingo_chat/realtime.rb,
lib/polylingo_chat/translator.rb,
lib/polylingo_chat/translate_job.rb,
lib/polylingo_chat/translator/base.rb,
lib/polylingo_chat/translator/gemini_client.rb,
lib/polylingo_chat/translator/openai_client.rb,
lib/polylingo_chat/translator/anthropic_client.rb,
lib/generators/polylingo_chat/install/install_generator.rb
Defined Under Namespace
Modules: Generators, Realtime, Translator
Classes: Config, Engine, Error, Railtie, TranslateJob
Constant Summary
collapse
- VERSION =
'0.1.1'
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
23
24
25
|
# File 'lib/polylingo_chat/config.rb', line 23
def self.config
@config ||= Config.new
end
|
17
18
19
20
21
|
# File 'lib/polylingo_chat/config.rb', line 17
def self.configure
@config ||= Config.new
yield @config if block_given?
@config
end
|