Created
February 7, 2021 02:54
-
-
Save mreigen/21567141d9aad23a8955a97e7f6d1504 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defp setup_cold_dishes(context) do | |
temp = 35 | |
size = if context.size, do: size, else: :small | |
dish = set_temperature(temp) | |
|> set_size(size) | |
|> set_time_in_fridge(:15_hours) | |
|> build_dish | |
%{temp: temp, size: size, cold_dish: dish} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment