Exception: StubRequests::InvalidUri
- Defined in:
- lib/stub_requests/stub_requests.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
56 57 58 |
# File 'lib/stub_requests/stub_requests.rb', line 56 def initialize(uri) super("'#{uri}' is not a valid URI.") end |