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_hex ⇒ Object

Returns the hex code for badge color

@return [String]

#contrast_hex ⇒ Object

Returns the hex code for badge text color

@return [String]

#emoji ⇒ String

Returns:

  • (String)

#id ⇒ Integer

Returns:

  • (Integer)

#name ⇒ String

Returns:

  • (String)