struct Laspatule::Models::CreateRecipe::CreateSection

Included Modules

Defined in:

laspatule/models/create_recipe_section.cr

Constructors

Instance Method Summary

Instance methods inherited from module Laspatule::Models::Validation::Validate

validate : Hash(String | UInt8, ValidationError) validate

Constructor Detail

def self.new(title : String, steps : Array(CreateStep)) #

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

[View source]

Instance Method Detail

def clone #

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

[View source]
def steps : Array(CreateStep) #

def title : String #