Exception: CoinMarketCapitalization::UnauthorizedException

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

Overview

UnauthorizedException

Instance Method Summary collapse

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