Class: C2eCore::Drops::OrderRatingDrop
- Defined in:
- /build/app/mailers/c2e_core/drops/order_rating_drop.rb
Instance Method Summary collapse
-
#initialize(rating_note) ⇒ OrderRatingDrop
constructor
A new instance of OrderRatingDrop.
-
#rating_type ⇒ String
-
Translated type of current rating.
-
-
#rating_type_code ⇒ String
-
Code of current rating.
-
-
#text ⇒ String
-
Text of current rating.
-
-
#value ⇒ Integer
-
Value of current rating.
-
Constructor Details
#initialize(rating_note) ⇒ OrderRatingDrop
Returns a new instance of OrderRatingDrop.
Instance Method Details
#rating_type ⇒ String
Returns - Translated type of current rating.
#rating_type_code ⇒ String
Returns - Code of current rating. E.g.: “hodnocení - způsob doručení”.
#text ⇒ String
Returns - Text of current rating. May be blank.
#value ⇒ Integer
Returns - Value of current rating. Possible values are from 0 to 5.