Sha256: 749a46a0262dfaf19ebd2afa191bd6ef09c2e2ea89ce9ee490c49d5fb2774082
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
module GeoConcerns class DerivativePath < CurationConcerns::DerivativePath def self.extension(destination_name) case destination_name when 'thumbnail' ".#{MIME::Types.type_for('jpg').first.extensions.first}" when 'display_raster' '.tif' when 'display_vector' '.zip' else ".#{destination_name}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
geo_concerns-0.0.7 | app/services/geo_concerns/derivative_path.rb |