Class: Vk::API::Errors::APIErrorEnabledInTest

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'In test mode application should be disabled or user should be authorized') ⇒ APIErrorEnabledInTest

Returns a new instance of APIErrorEnabledInTest.



112
113
114
# File 'lib/vk/api/errors.rb', line 112

def initialize(msg = 'In test mode application should be disabled or user should be authorized')
  super
end

Instance Method Details

#codeObject



116
117
118
# File 'lib/vk/api/errors.rb', line 116

def code
  11
end