Module: YandexMoney

Defined in:
lib/yandex_money/client.rb,
lib/yandex_money/config.rb,
lib/yandex_money/wallet.rb,
lib/yandex_money/exceptions.rb,
lib/yandex_money/api/version.rb,
lib/yandex_money/external_payment.rb

Defined Under Namespace

Modules: Client Classes: AcceptTransferError, Api, ApiError, Config, Error, ErrorWithMessage, ExternalPayment, ExternalPaymentProgressError, FieldNotSetError, InsufficientScopeError, InvalidRequestError, ServerError, UnauthorizedError, Wallet

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject



5
6
7
# File 'lib/yandex_money/config.rb', line 5

def config
  @config ||= Config.new
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



9
10
11
# File 'lib/yandex_money/config.rb', line 9

def configure
  yield(config)
end

.reset_configObject



13
14
15
# File 'lib/yandex_money/config.rb', line 13

def reset_config
  @config = Config.new
end