struct Laspatule::Models::Recipe::Section

Included Modules

Defined in:

laspatule/models/recipe_section.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int32, title : String, steps : Array(Laspatule::Models::Recipe::Step) = Array(Laspatule::Models::Recipe::Step).new) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(id _id = @id, title _title = @title, steps _steps = @steps) #

[View source]
def id : Int32 #

def steps : Array(Laspatule::Models::Recipe::Step) #

def title : String #