Module: YandexUslugiWrapper

Defined in:
lib/yandex_uslugi_wrapper.rb,
lib/yandex_uslugi_wrapper/bank.rb,
lib/yandex_uslugi_wrapper/credit.rb,
lib/yandex_uslugi_wrapper/deposit.rb,
lib/yandex_uslugi_wrapper/mortgage.rb,
lib/yandex_uslugi_wrapper/autocredit.rb,
lib/yandex_uslugi_wrapper/bank_product.rb,
lib/yandex_uslugi_wrapper/yandex_usluga.rb

Defined Under Namespace

Classes: Autocredit, Bank, BankProduct, Credit, Deposit, Mortgage, YandexUsluga

Class Method Summary collapse

Class Method Details

.api_keyObject



16
17
18
# File 'lib/yandex_uslugi_wrapper.rb', line 16

def self.api_key
  YandexUsluga.api_key
end

.api_key=(key) ⇒ Object



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

def self.api_key=(key)
  YandexUsluga.api_key = key
end

.refererObject



20
21
22
# File 'lib/yandex_uslugi_wrapper.rb', line 20

def self.referer
  YandexUsluga.referer
end

.referer=(referer_site) ⇒ Object



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

def self.referer=(referer_site)
  YandexUsluga.referer = referer_site
end