Exception: NewsAggregator::TooManyRequestsException
- Inherits:
-
StandardError
- Object
- StandardError
- NewsAggregator::TooManyRequestsException
- Defined in:
- lib/news_aggregator/exceptions.rb
Overview
TooManyRequestException
Instance Method Summary collapse
-
#initialize(json) ⇒ TooManyRequestsException
constructor
A new instance of TooManyRequestsException.
Constructor Details
#initialize(json) ⇒ TooManyRequestsException
Returns a new instance of TooManyRequestsException.
20 21 22 |
# File 'lib/news_aggregator/exceptions.rb', line 20 def initialize(json) puts json["message"] || super end |