struct Laspatule::Models::CreateRecipe

Included Modules

Defined in:

laspatule/models/create_recipe.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, ingredients : Array(CreateRecipe::CreateIngredient), sections : Array(CreateSection)) #

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

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(title _title = @title, ingredients _ingredients = @ingredients, sections _sections = @sections) #

[View source]
def ingredients : Array(CreateRecipe::CreateIngredient) #

def sections : Array(CreateSection) #

def title : String #