Exception: InvalidUrlException
- Inherits:
-
StandardError
- Object
- StandardError
- InvalidUrlException
- Defined in:
- lib/nps/api_exception.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.error_message_with_url(url) ⇒ Object
24 25 26 |
# File 'lib/nps/api_exception.rb', line 24 def self. (url) "Invalid URL - #{url}" end |
Instance Method Details
#message ⇒ Object
20 21 22 |
# File 'lib/nps/api_exception.rb', line 20 def "Invalid URL" end |