class ZooniverseData::Projects::Asteroid

Public Instance Methods

customize_subject() click to toggle source
# File lib/zooniverse_data/projects/asteroid.rb, line 6
def customize_subject
  standard = []
  inverted = []
  
  entry.location['standard'].each do |location|
    standard << convert_to_png(location).path
    inverted << invert_image(location).path
  end
  
  set_location standard: standard, inverted: inverted
end