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.
4 5 6 |
# File 'lib/geoblacklight/exceptions.rb', line 4 def initialize( = {}) @options = end |
Instance Method Details
#message ⇒ String
Message passed from a failed download
18 19 20 |
# File 'lib/geoblacklight/exceptions.rb', line 18 def @options[:message].to_s end |
#url ⇒ String
URL tried from failed download
11 12 13 |
# File 'lib/geoblacklight/exceptions.rb', line 11 def url @options[:url].to_s end |