class Geoblacklight::HglDownload

Public Class Methods

new(document, email, options = {}) click to toggle source
Calls superclass method Geoblacklight::Download::new
# File lib/geoblacklight/download/hgl_download.rb, line 5
def initialize(document, email, options = {})
  request_params = {
    "LayerName" => document[Settings.FIELDS.WXS_IDENTIFIER].sub(/^cite:/, ""),
    "UserEmail" => email
  }
  super(document, {
    request_params: request_params,
    service_type: "hgl"
  }.merge(options))
end

Public Instance Methods

get() click to toggle source
# File lib/geoblacklight/download/hgl_download.rb, line 16
def get
  initiate_download
end