Class: Vk::API::Errors::APIErrorMethodPermission

Inherits:
Error
  • Object
show all
Defined in:
lib/vk/api/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Permission to perform this action is denied for non-standalone applications') ⇒ APIErrorMethodPermission

Returns a new instance of APIErrorMethodPermission.


162
163
164
# File 'lib/vk/api/errors.rb', line 162

def initialize(msg = 'Permission to perform this action is denied for non-standalone applications')
  super
end

Instance Method Details

#codeObject


166
167
168
# File 'lib/vk/api/errors.rb', line 166

def code
  20
end