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.
55 56 57 |
# File 'lib/waffle_api/errors.rb', line 55 def initialize(address = '') super address end |
Instance Method Details
#message(address = '') ⇒ Object
59 60 61 |
# File 'lib/waffle_api/errors.rb', line 59 def (address = '') "The address #{address} was not found on Wafflepool. Please check it." end |