struct Laspatule::Models::Recipe::Ingredient

Included Modules

Defined in:

laspatule/models/recipe_ingredient.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int32, quantity : String, ingredient : Laspatule::Models::Ingredient) #

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

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(id _id = @id, quantity _quantity = @quantity, ingredient _ingredient = @ingredient) #

[View source]
def id : Int32 #

def ingredient : Laspatule::Models::Ingredient #

def quantity : String #