Module: Yatapp
- Extended by:
- Configuration
- Defined in:
- lib/yatapp.rb,
lib/yatapp/railtie.rb,
lib/yatapp/version.rb,
lib/yatapp/configuration.rb,
lib/yatapp/yata_api_caller.rb
Defined Under Namespace
Modules: Configuration
Classes: Railtie, YataApiCaller
Constant Summary
collapse
- VERSION =
"0.5.2"
Configuration::CONFIGURATION_OPTIONS
Class Method Summary
collapse
configure, options
Class Method Details
.api_caller ⇒ Object
24
25
26
|
# File 'lib/yatapp.rb', line 24
def api_caller
@api_caller ||= YataApiCaller.new
end
|
.download_translations ⇒ Object
16
17
18
|
# File 'lib/yatapp.rb', line 16
def download_translations
api_caller.download_translations
end
|
.get_translations ⇒ Object
12
13
14
|
# File 'lib/yatapp.rb', line 12
def get_translations
api_caller.get_translations
end
|
.start_websocket ⇒ Object
20
21
22
|
# File 'lib/yatapp.rb', line 20
def start_websocket
Phoenix::Socket.new unless File.basename($0) == 'rake'
end
|