Method: Pageflow::AudioFile#post_process_encoded_files

Defined in:
app/models/pageflow/audio_file.rb

#post_process_encoded_filesObject



43
44
45
46
47
# File 'app/models/pageflow/audio_file.rb', line 43

def post_process_encoded_files
  self.peak_data = URI.parse(ogg.url(default_protocol: 'https'))
rescue OpenURI::HTTPError
  throw(:halt, :pending)
end