Class: I18nAi::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/i18n_ai/configuration.rb

Overview

Configuration class for I18nAi

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
11
# File 'lib/i18n_ai/configuration.rb', line 8

def initialize
  @ai_settings = {}
  @generate_locales = [:es]
end

Instance Attribute Details

#ai_settingsObject

Returns the value of attribute ai_settings.



6
7
8
# File 'lib/i18n_ai/configuration.rb', line 6

def ai_settings
  @ai_settings
end

#generate_localesObject

Returns the value of attribute generate_locales.



6
7
8
# File 'lib/i18n_ai/configuration.rb', line 6

def generate_locales
  @generate_locales
end