Class: C2eCore::Drops::RecipeDrop

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

Instance Method Summary collapse

Constructor Details

#initialize(recipe) ⇒ RecipeDrop

Returns a new instance of RecipeDrop.

Instance Method Details

#code ⇒ String

Returns - Current code of recipe. E.g.: "m42".

Returns:

  • (String) —
    • Current code of recipe. E.g.: "m42"

#name ⇒ String

Returns - Current name of recipe. E.g.: "200g Zbojnický steak".

Returns:

  • (String) —
    • Current name of recipe. E.g.: "200g Zbojnický steak"