Class: SimpleAttachmentDrop

Inherits:
Liquid::Simplero::Drop show all
Defined in:
app/drops/simple_attachment_drop.rb

Overview

Represents a file attachment in user-generated content.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#content_typeString

Returns:

  • (String)

#filenameString

Returns:

  • (String)

#image?Boolean

Returns:

  • (Boolean)

#preview_urlString

Returns:

  • (String)

#sizeInteger

Returns:

  • (Integer)

#tokenString

A unique string representing the attachment.

Returns:

  • (String)

#urlString

Returns:

  • (String)