Class: Vk::API::Errors::APIErrorMethodAds

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 allowed only for standalone and OpenAPI applications') ⇒ APIErrorMethodAds

Returns a new instance of APIErrorMethodAds.


172
173
174
# File 'lib/vk/api/errors.rb', line 172

def initialize(msg = 'Permission to perform this action is allowed only for standalone and OpenAPI applications')
  super
end

Instance Method Details

#codeObject


176
177
178
# File 'lib/vk/api/errors.rb', line 176

def code
  21
end