struct

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)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(id _id = @id, title _title = @title, steps _steps = @steps)
Source
id
steps
title