struct Laspatule::Models::Recipe::Ingredient
- Laspatule::Models::Recipe::Ingredient
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
laspatule/models/recipe_ingredient.crConstructors
- .new(id : Int32, quantity : String, ingredient : Laspatule::Models::Ingredient)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #copy_with(id _id = @id, quantity _quantity = @quantity, ingredient _ingredient = @ingredient)
- #id : Int32
- #ingredient : Laspatule::Models::Ingredient
- #quantity : String
Constructor Detail
def self.new(id : Int32, quantity : String, ingredient : Laspatule::Models::Ingredient)
#
Instance Method Detail
def copy_with(id _id = @id, quantity _quantity = @quantity, ingredient _ingredient = @ingredient)
#