Class: BadgeDrop

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

Overview

badge refers to the engagement badges of the membership site being displayed.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#color_hexObject

Returns the hex code for badge color

@return [String]

#contrast_hexObject

Returns the hex code for badge text color

@return [String]

#emojiString

Returns:

  • (String)

#idInteger

Returns:

  • (Integer)

#nameString

Returns:

  • (String)