Class: Geoblacklight::HglDownload
- Defined in:
- lib/geoblacklight/download/hgl_download.rb
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(document, email, options = {}) ⇒ HglDownload
constructor
A new instance of HglDownload.
Methods inherited from Download
#create_download_file, #download_exists?, #downloadable?, #file_name, file_path, #file_path_and_name, #initiate_download, #url_with_params
Constructor Details
#initialize(document, email, options = {}) ⇒ HglDownload
Returns a new instance of HglDownload.
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/geoblacklight/download/hgl_download.rb', line 5 def initialize(document, email, = {}) request_params = { "LayerName" => document[Settings.FIELDS.WXS_IDENTIFIER].sub(/^cite:/, ""), "UserEmail" => email } super(document, { request_params: request_params, service_type: "hgl" }.merge()) end |
Instance Method Details
#get ⇒ Object
16 17 18 |
# File 'lib/geoblacklight/download/hgl_download.rb', line 16 def get initiate_download end |