Class: GeoConcerns::DerivativePath
- Inherits:
-
CurationConcerns::DerivativePath
- Object
- CurationConcerns::DerivativePath
- GeoConcerns::DerivativePath
- Defined in:
- app/services/geo_concerns/derivative_path.rb
Instance Method Summary collapse
Instance Method Details
#extension ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'app/services/geo_concerns/derivative_path.rb', line 3 def extension 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 |