Sha256: 878eb409467d2f44adac76bf24d572fc09941d499b685cb5c48a9b9ccc34761a
Contents?: true
Size: 480 Bytes
Versions: 20
Compression:
Stored size: 480 Bytes
Contents
# frozen_string_literal: true module Geoblacklight module SolrDocument ## # Module for providing external Carto download references for a document module Carto ## # Returns a url to a file that should be used with CartoDB integration # @return [String] def carto_reference return unless public? && download_types.try(:[], :geojson).present? Geoblacklight::GeojsonDownload.new(self).url_with_params end end end end
Version data entries
20 entries across 20 versions & 1 rubygems