Exception: YandexMoney::UnauthorizedError

Inherits:
Error
  • Object
show all
Defined in:
lib/yandex_money/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ UnauthorizedError

Returns a new instance of UnauthorizedError.



7
8
9
# File 'lib/yandex_money/exceptions.rb', line 7

def initialize(error)
  @err = error
end

Instance Method Details

#messageObject



11
12
13
# File 'lib/yandex_money/exceptions.rb', line 11

def message
  @err
end