Exception: NewsAggregator::TooManyRequestsException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/news_aggregator/exceptions.rb

Overview

TooManyRequestException

Instance Method Summary collapse

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