Exception: CoinMarketCapitalization::UnauthorizedException
- Inherits:
-
StandardError
- Object
- StandardError
- CoinMarketCapitalization::UnauthorizedException
- Defined in:
- lib/coin_market_capitalization/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.
13 14 15 |
# File 'lib/coin_market_capitalization/exceptions.rb', line 13 def initialize(json) puts json["status"]["error_message"] || super end |