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.
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/geoblacklight/download/hgl_download.rb', line 3 def initialize(document, email, = {}) request_params = { 'LayerName' => document[:layer_id_s].sub(/^cite:/, ''), 'UserEmail' => email } super(document, { request_params: request_params, service_type: 'hgl' }.merge()) end |
Instance Method Details
#get ⇒ Object
14 15 16 |
# File 'lib/geoblacklight/download/hgl_download.rb', line 14 def get initiate_download end |