Class: BadgeDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- BadgeDrop
- Defined in:
- app/drops/badge_drop.rb
Overview
badge
refers to the engagement badges of the membership site being displayed.
Instance Method Summary collapse
-
#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
- #id ⇒ Integer
- #name ⇒ String
Methods inherited from Liquid::Simplero::Drop
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]