Class: YandexTranslatorApi::Config

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/yandex_translator_api.rb

Overview

configuration

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyObject

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_langObject

Returns the value of attribute default_lang.



12
13
14
# File 'lib/yandex_translator_api.rb', line 12

def default_lang
  @default_lang
end