Class: Vk::API::Errors::APIErrorVotesPermission

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Permission denied. You must enable votes processing in application settings') ⇒ APIErrorVotesPermission

Returns a new instance of APIErrorVotesPermission.


202
203
204
# File 'lib/vk/api/errors.rb', line 202

def initialize(msg = 'Permission denied. You must enable votes processing in application settings')
  super
end

Instance Method Details

#codeObject


206
207
208
# File 'lib/vk/api/errors.rb', line 206

def code
  500
end