Exception: CoinMarketCapitalization::ServerException

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

Overview

InternalServerError

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ ServerException

Returns a new instance of ServerException.



41
42
43
# File 'lib/coin_market_capitalization/exceptions.rb', line 41

def initialize(json)
  puts json["status"]["error_message"] || super
end