class MIME::Application

Application is intended for discrete data that is to be processed by some type of application program. The body contains information which must be processed by an application before it is viewable or usable by a user.

Application is the catch all class. If your content cannot be identified as another DiscreteMedia, then it is application media.

Public Class Methods

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