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