Laspatule::Models::Recipe::Section
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(id : Int32, title : String, steps : Array(Laspatule::Models::Recipe::Step) = Array(Laspatule::Models::Recipe::Step).new)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(id _id = @id, title _title = @title, steps _steps = @steps)
Sourceid
steps
title