Class: ZooniverseData::Projects::HiggsHunter
- Inherits:
-
Object
- Object
- ZooniverseData::Projects::HiggsHunter
- Includes:
- Helpers
- Defined in:
- lib/zooniverse_data/projects/higgs_hunter.rb
Instance Method Summary collapse
Instance Method Details
#customize_subject ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/zooniverse_data/projects/higgs_hunter.rb', line 6 def customize_subject new_locations = default_empty_locations entry.location['standard'].each do |image_path| standard_image = standard_image(image_path) new_locations['standard'] << standard_image thumbnail_image = converter_for(standard_image, type: 'thumbnail', max_size: 400) new_locations['thumbnail'] << thumbnail_image end set_location new_locations end |