struct

Laspatule::Models::CreateRecipe

Inherits Laspatule::Models::Validation::Validate < JSON::Serializable < Struct < Value < Object

Constructors

new(title : String, ingredients : Array(CreateRecipe::CreateIngredient), sections : Array(CreateSection))
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(title _title = @title, ingredients _ingredients = @ingredients, sections _sections = @sections)
Source
ingredients
sections
title

Nested types