Class: Vk::API::Errors::APIErrorAuth
- Defined in:
- lib/vk/api/errors.rb
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(msg = 'User authorization failed') ⇒ APIErrorAuth
constructor
A new instance of APIErrorAuth.
Constructor Details
#initialize(msg = 'User authorization failed') ⇒ APIErrorAuth
Returns a new instance of APIErrorAuth.
52 53 54 |
# File 'lib/vk/api/errors.rb', line 52 def initialize(msg = 'User authorization failed') super end |
Instance Method Details
#code ⇒ Object
56 57 58 |
# File 'lib/vk/api/errors.rb', line 56 def code 5 end |