Class: Vk::API::Errors::APIErrorMethodDisabled

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'This method was disabled') ⇒ APIErrorMethodDisabled

Returns a new instance of APIErrorMethodDisabled.


182
183
184
# File 'lib/vk/api/errors.rb', line 182

def initialize(msg = 'This method was disabled')
  super
end

Instance Method Details

#codeObject


186
187
188
# File 'lib/vk/api/errors.rb', line 186

def code
  23
end