class Geoblacklight::Exceptions::ExternalDownloadFailed

Public Class Methods

new(options = {}) click to toggle source
# File lib/geoblacklight/exceptions.rb, line 6
def initialize(options = {})
  @options = options
end

Public Instance Methods

message() click to toggle source

Message passed from a failed download @return [String]

# File lib/geoblacklight/exceptions.rb, line 20
def message
  @options[:message].to_s
end
url() click to toggle source

URL tried from failed download @return [String]

# File lib/geoblacklight/exceptions.rb, line 13
def url
  @options[:url].to_s
end