Class: Vk::API::Errors::APIErrorTooMany
- Defined in:
- lib/vk/api/errors.rb
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(msg = 'Too many requests per second') ⇒ APIErrorTooMany
constructor
A new instance of APIErrorTooMany.
Constructor Details
#initialize(msg = 'Too many requests per second') ⇒ APIErrorTooMany
Returns a new instance of APIErrorTooMany.
62 63 64 |
# File 'lib/vk/api/errors.rb', line 62 def initialize(msg = 'Too many requests per second') super end |
Instance Method Details
#code ⇒ Object
66 67 68 |
# File 'lib/vk/api/errors.rb', line 66 def code 6 end |