struct

Laspatule::Models::Recipe::Ingredient

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(id : Int32, quantity : String, ingredient : Laspatule::Models::Ingredient)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(id _id = @id, quantity _quantity = @quantity, ingredient _ingredient = @ingredient)
Source
id
ingredient
quantity