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_type ⇒ String

Returns:

  • (String)

#filename ⇒ String

Returns:

  • (String)

#image? ⇒ Boolean

Returns:

  • (Boolean)

#preview_url ⇒ String

Returns:

  • (String)

#size ⇒ Integer

Returns:

  • (Integer)

#token ⇒ String

A unique string representing the attachment.

Returns:

  • (String)

#url ⇒ String

Returns:

  • (String)