Class: Translated::Configuration
- Inherits:
-
Object
- Object
- Translated::Configuration
- Defined in:
- lib/translated/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#environments ⇒ Object
Returns the value of attribute environments.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/translated/configuration.rb', line 7 def initialize @environments = %w(development production) end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/translated/configuration.rb', line 5 def api_key @api_key end |
#environments ⇒ Object
Returns the value of attribute environments.
5 6 7 |
# File 'lib/translated/configuration.rb', line 5 def environments @environments end |