Class: Phrase::Ota::Backend
- Inherits:
-
I18n::Backend::Simple
- Object
- I18n::Backend::Simple
- Phrase::Ota::Backend
- Defined in:
- lib/phrase/ota/backend.rb
Instance Method Summary collapse
- #available_locales ⇒ Object
- #init_translations ⇒ Object
-
#initialize ⇒ Backend
constructor
A new instance of Backend.
Constructor Details
#initialize ⇒ Backend
Returns a new instance of Backend.
8 9 10 11 12 |
# File 'lib/phrase/ota/backend.rb', line 8 def initialize @current_locale_versions = {} @initialized = true # initializing immeditaly as we don't want to wait until all OTA translations have been fetched start_polling end |