Module: Geoblacklight::SolrDocument::Inspection

Included in:
Geoblacklight::SolrDocument
Defined in:
app/models/concerns/geoblacklight/solr_document/inspection.rb

Overview

Module to provide inspection logic for solr document

Instance Method Summary collapse

Instance Method Details

#inspectable?Boolean

Returns boolean about whether document viewer protocol is inspectable

Returns:

  • (Boolean)


9
10
11
12
# File 'app/models/concerns/geoblacklight/solr_document/inspection.rb', line 9

def inspectable?
  %w(wms feature_layer dynamic_map_layer tiled_map_layer)
    .include? viewer_protocol
end