Class: Vk::API::Errors::APIErrorServer
- Defined in:
- lib/vk/api/errors.rb
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(msg = 'Internal server error') ⇒ APIErrorServer
constructor
A new instance of APIErrorServer.
Constructor Details
#initialize(msg = 'Internal server error') ⇒ APIErrorServer
Returns a new instance of APIErrorServer.
102 103 104 |
# File 'lib/vk/api/errors.rb', line 102 def initialize(msg = 'Internal server error') super end |
Instance Method Details
#code ⇒ Object
106 107 108 |
# File 'lib/vk/api/errors.rb', line 106 def code 10 end |