Class: C2eCore::Drops::RecipeDrop
- Defined in:
- /build/app/mailers/c2e_core/drops/recipe_drop.rb
Instance Method Summary collapse
-
#code ⇒ String
-
Current code of recipe.
-
-
#initialize(recipe) ⇒ RecipeDrop
constructor
A new instance of RecipeDrop.
-
#name ⇒ String
-
Current name of recipe.
-
Constructor Details
#initialize(recipe) ⇒ RecipeDrop
Returns a new instance of RecipeDrop.
Instance Method Details
#code ⇒ String
Returns - Current code of recipe. E.g.: “m42”.
#name ⇒ String
Returns - Current name of recipe. E.g.: “200g Zbojnický steak”.