Class: LokaliseRails
- Inherits:
-
Object
- Object
- LokaliseRails
- Defined in:
- lib/lokalise_rails.rb,
lib/lokalise_rails/railtie.rb,
lib/lokalise_rails/version.rb,
lib/lokalise_rails/task_definition/base.rb,
lib/lokalise_rails/task_definition/importer.rb,
lib/generators/lokalise_rails/install_generator.rb
Defined Under Namespace
Modules: Generators, TaskDefinition Classes: Railtie
Constant Summary collapse
- VERSION =
'0.0.2'
Class Attribute Summary collapse
-
.api_token ⇒ Object
Returns the value of attribute api_token.
-
.export_opts ⇒ Object
Returns the value of attribute export_opts.
-
.import_opts ⇒ Object
Returns the value of attribute import_opts.
-
.import_safe_mode ⇒ Object
Returns the value of attribute import_safe_mode.
-
.project_id ⇒ Object
Returns the value of attribute project_id.
Class Method Summary collapse
Class Attribute Details
.api_token ⇒ Object
Returns the value of attribute api_token.
24 25 26 |
# File 'lib/lokalise_rails.rb', line 24 def api_token @api_token end |
.export_opts ⇒ Object
Returns the value of attribute export_opts.
24 25 26 |
# File 'lib/lokalise_rails.rb', line 24 def export_opts @export_opts end |
.import_opts ⇒ Object
Returns the value of attribute import_opts.
24 25 26 |
# File 'lib/lokalise_rails.rb', line 24 def import_opts @import_opts end |
.import_safe_mode ⇒ Object
Returns the value of attribute import_safe_mode.
24 25 26 |
# File 'lib/lokalise_rails.rb', line 24 def import_safe_mode @import_safe_mode end |
.project_id ⇒ Object
Returns the value of attribute project_id.
24 25 26 |
# File 'lib/lokalise_rails.rb', line 24 def project_id @project_id end |
Class Method Details
.locales_path ⇒ Object
27 28 29 |
# File 'lib/lokalise_rails.rb', line 27 def locales_path "#{Rails.root}/config/locales" end |