Class: Vk::API::Errors::APIErrorDisabled

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Application is disabled. Enable your application or use test mode') ⇒ APIErrorDisabled

Returns a new instance of APIErrorDisabled.


22
23
24
# File 'lib/vk/api/errors.rb', line 22

def initialize(msg = 'Application is disabled. Enable your application or use test mode')
  super
end

Instance Method Details

#codeObject


26
27
28
# File 'lib/vk/api/errors.rb', line 26

def code
  2
end