Exception: CoinMarketCapitalization::PaymentRequiredException
- Inherits:
-
StandardError
- Object
- StandardError
- CoinMarketCapitalization::PaymentRequiredException
- Defined in:
- lib/coin_market_capitalization/exceptions.rb
Overview
PaymentRequiredException
Instance Method Summary collapse
-
#initialize(json) ⇒ PaymentRequiredException
constructor
A new instance of PaymentRequiredException.
Constructor Details
#initialize(json) ⇒ PaymentRequiredException
Returns a new instance of PaymentRequiredException.
20 21 22 |
# File 'lib/coin_market_capitalization/exceptions.rb', line 20 def initialize(json) puts json["status"]["error_message"] || super end |