Class: YandexTranslatorApi::Config
- Inherits:
-
Object
- Object
- YandexTranslatorApi::Config
- Includes:
- Singleton
- Defined in:
- lib/yandex_translator_api.rb
Overview
configuration
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#default_lang ⇒ Object
Returns the value of attribute default_lang.
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
12 13 14 |
# File 'lib/yandex_translator_api.rb', line 12 def api_key @api_key end |
#default_lang ⇒ Object
Returns the value of attribute default_lang.
12 13 14 |
# File 'lib/yandex_translator_api.rb', line 12 def default_lang @default_lang end |