Exception: YandexMoney::AcceptTransferError
- Defined in:
- lib/yandex_money/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg, attemps = nil) ⇒ AcceptTransferError
constructor
A new instance of AcceptTransferError.
- #message ⇒ Object
Constructor Details
#initialize(msg, attemps = nil) ⇒ AcceptTransferError
Returns a new instance of AcceptTransferError.
47 48 49 50 |
# File 'lib/yandex_money/exceptions.rb', line 47 def initialize(msg, attemps = nil) @msg = msg @attemps = attemps end |
Instance Method Details
#message ⇒ Object
52 53 54 55 56 57 58 |
# File 'lib/yandex_money/exceptions.rb', line 52 def if @attemps super + ", attemps available: #{@attemps}" else super end end |