Laspatule::Models::Recipe
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(id : Int32, title : String, user : User, ingredients : Array(Laspatule::Models::Recipe::Ingredient) = Array(Laspatule::Models::Recipe::Ingredient).new, sections : Array(Laspatule::Models::Recipe::Section) = Array(Laspatule::Models::Recipe::Section).new)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(id _id = @id, title _title = @title, user _user = @user, ingredients _ingredients = @ingredients, sections _sections = @sections)
Sourceid
ingredients
sections
title
user