class MIME::Video

Video is intended for discrete video content. The content subtype indicates the specific video format. The RFC describes video media as content that contains a time-varying-picture image, possibly with color and coordinated sound.

Public Class Methods

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