Exception: Geoblacklight::Exceptions::ExternalDownloadFailed
- Inherits:
-
StandardError
- Object
- StandardError
- Geoblacklight::Exceptions::ExternalDownloadFailed
- Defined in:
- lib/geoblacklight/exceptions.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ExternalDownloadFailed
constructor
A new instance of ExternalDownloadFailed.
-
#message ⇒ String
Message passed from a failed download.
-
#url ⇒ String
URL tried from failed download.
Constructor Details
#initialize(options = {}) ⇒ ExternalDownloadFailed
Returns a new instance of ExternalDownloadFailed.
5 6 7 |
# File 'lib/geoblacklight/exceptions.rb', line 5 def initialize( = {}) @options = end |
Instance Method Details
#message ⇒ String
Message passed from a failed download
19 20 21 |
# File 'lib/geoblacklight/exceptions.rb', line 19 def @options[:message].to_s end |
#url ⇒ String
URL tried from failed download
12 13 14 |
# File 'lib/geoblacklight/exceptions.rb', line 12 def url @options[:url].to_s end |