Class: LokaliseRails

Inherits:
Object
  • Object
show all
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.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_tokenObject

Returns the value of attribute api_token.



24
25
26
# File 'lib/lokalise_rails.rb', line 24

def api_token
  @api_token
end

.export_optsObject

Returns the value of attribute export_opts.



24
25
26
# File 'lib/lokalise_rails.rb', line 24

def export_opts
  @export_opts
end

.import_optsObject

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_modeObject

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_idObject

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_pathObject



27
28
29
# File 'lib/lokalise_rails.rb', line 27

def locales_path
  "#{Rails.root}/config/locales"
end