lib/geoblacklight/download/hgl_download.rb in geoblacklight-0.11.1 vs lib/geoblacklight/download/hgl_download.rb in geoblacklight-0.12.0

- old
+ new

@@ -1,11 +1,10 @@ module Geoblacklight class HglDownload < Geoblacklight::Download def initialize(document, email, options = {}) - request_params = { - "LayerName" => document[:layer_id_s].sub(/^cite:/, ''), - "UserEmail" => email + 'LayerName' => document[:layer_id_s].sub(/^cite:/, ''), + 'UserEmail' => email } super(document, { request_params: request_params, service_type: 'hgl' }.merge(options))