Exception: CoinMarketCapitalization::ForbiddenException

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

Overview

ForbiddenException

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ ForbiddenException

Returns a new instance of ForbiddenException.



27
28
29
# File 'lib/coin_market_capitalization/exceptions.rb', line 27

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