Class: Vk::API::Errors::APIErrorPermission
- Defined in:
- lib/vk/api/errors.rb
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(msg = 'Permission to perform this action is denied') ⇒ APIErrorPermission
constructor
A new instance of APIErrorPermission.
Constructor Details
#initialize(msg = 'Permission to perform this action is denied') ⇒ APIErrorPermission
Returns a new instance of APIErrorPermission.
72 73 74 |
# File 'lib/vk/api/errors.rb', line 72 def initialize(msg = 'Permission to perform this action is denied') super end |
Instance Method Details
#code ⇒ Object
76 77 78 |
# File 'lib/vk/api/errors.rb', line 76 def code 7 end |