Exception: WaffleAPI::Error::AddressNotFound
- Defined in:
- lib/waffle_api/errors.rb
Overview
Error raised when Waffle change his API endpoint. Nothing to do but report an issue on this gem repo
Instance Method Summary collapse
-
#initialize(address = '') ⇒ AddressNotFound
constructor
A new instance of AddressNotFound.
- #message(address = '') ⇒ Object
Constructor Details
#initialize(address = '') ⇒ AddressNotFound
Returns a new instance of AddressNotFound.
46 47 48 |
# File 'lib/waffle_api/errors.rb', line 46 def initialize(address = '') super address end |
Instance Method Details
#message(address = '') ⇒ Object
50 51 52 |
# File 'lib/waffle_api/errors.rb', line 50 def (address = '') "The address #{address} was not found on Wafflepool. Please check it." end |