Class: C2eCore::Drops::OrderRatingDrop

Inherits:
BaseDrop
  • Object
show all
Defined in:
/build/app/mailers/c2e_core/drops/order_rating_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(rating_note) ⇒ OrderRatingDrop

Returns a new instance of OrderRatingDrop.

Instance Method Details

#rating_typeString

Returns - Translated type of current rating.

Returns:

  • (String)
    • Translated type of current rating.

#rating_type_codeString

Returns - Code of current rating. E.g.: “hodnocení - způsob doručení”.

Returns:

  • (String)
    • Code of current rating. E.g.: “hodnocení - způsob doručení”

#textString

Returns - Text of current rating. May be blank.

Returns:

  • (String)
    • Text of current rating. May be blank

#valueInteger

Returns - Value of current rating. Possible values are from 0 to 5.

Returns:

  • (Integer)
    • Value of current rating. Possible values are from 0 to 5.