Exception: StubRequests::InvalidUri
- Defined in:
- lib/stub_requests/exceptions.rb
Overview
InvalidUri is raised when a URI is invalid
Instance Method Summary collapse
-
#initialize(uri) ⇒ InvalidUri
constructor
A new instance of InvalidUri.
Constructor Details
#initialize(uri) ⇒ InvalidUri
Returns a new instance of InvalidUri
70 71 72 |
# File 'lib/stub_requests/exceptions.rb', line 70 def initialize(uri) super("'#{uri}' is not a valid URI.") end |