Exception: Parliament::OpenSearch::DescriptionError
- Inherits:
-
StandardError
- Object
- StandardError
- Parliament::OpenSearch::DescriptionError
- Defined in:
- lib/parliament/open_search/description_error.rb
Overview
An error raised when there is an issue processing an OpenSearch description file. This could be raised when the URL provided is invalid, or when we are unable to find a URL template for future requests.
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
the description url that caused the Parliament::OpenSearchDescriptionError.
Instance Method Summary collapse
-
#initialize(description_url) ⇒ DescriptionError
constructor
A new instance of DescriptionError.
Constructor Details
#initialize(description_url) ⇒ DescriptionError
Returns a new instance of DescriptionError.
13 14 15 |
# File 'lib/parliament/open_search/description_error.rb', line 13 def initialize(description_url) @url = description_url end |
Instance Attribute Details
#url ⇒ Object (readonly)
the description url that caused the Parliament::OpenSearchDescriptionError.
9 10 11 |
# File 'lib/parliament/open_search/description_error.rb', line 9 def url @url end |