module Yatapp

Constants

VERSION

Public Class Methods

api_caller() click to toggle source
# File lib/yatapp.rb, line 26
def api_caller
  @api_caller ||= YataApiCaller.new
end
download_translations() click to toggle source
# File lib/yatapp.rb, line 16
def download_translations
  if download_on_start
    api_caller.download_translations_and_store
  end
end
get_translations() click to toggle source
# File lib/yatapp.rb, line 12
def get_translations
  api_caller.get_translations
end
start_websocket() click to toggle source
# File lib/yatapp.rb, line 22
def start_websocket
  Phoenix::Socket.new unless File.basename($0) == 'rake'
end