class MIME::Audio

Audio is intended for discrete audio content. The subtype indicates the specific audio format, such as mpeg or midi.

Public Class Methods

new(body, subtype = 'basic', params = {}) click to toggle source
Calls superclass method MIME::DiscreteMedia.new
# File lib/mime/discrete_media.rb, line 36
def initialize(body, subtype = 'basic', params = {})
  super(body, "audio/#{subtype}", params)
end