Class: Vk::API::Errors::APIErrorMethod
- Defined in:
- lib/vk/api/errors.rb
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(msg = 'Unknown method passed') ⇒ APIErrorMethod
constructor
A new instance of APIErrorMethod.
Constructor Details
#initialize(msg = 'Unknown method passed') ⇒ APIErrorMethod
Returns a new instance of APIErrorMethod.
32 33 34 |
# File 'lib/vk/api/errors.rb', line 32 def initialize(msg = 'Unknown method passed') super end |
Instance Method Details
#code ⇒ Object
36 37 38 |
# File 'lib/vk/api/errors.rb', line 36 def code 3 end |