class LittleGhost::Content::Document
Contains binary document data, its MIME media type, and a display name. Content.serialize base64-encodes data when the block crosses a JSON boundary.
Attributes
The original binary document bytes.
The document MIME type, such as application/pdf.
The filename or label presented to the model.
Public Class Methods
# File lib/little_ghost/content.rb, line 130
Wraps the supplied values without copying them.