Class: Vk::API::Errors::APIErrorMethodDisabled
- Defined in:
- lib/vk/api/errors.rb
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(msg = 'This method was disabled') ⇒ APIErrorMethodDisabled
constructor
A new instance of APIErrorMethodDisabled.
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
#code ⇒ Object
186 187 188 |
# File 'lib/vk/api/errors.rb', line 186 def code 23 end |