struct

Laspatule::Models::CreateRecipe::CreateIngredient

Inherits Laspatule::Models::Validation::Validate < JSON::Serializable < Struct < Value < Object

Constructors

new(quantity : String, ingredient_id : Int32)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(quantity _quantity = @quantity, ingredient_id _ingredient_id = @ingredient_id)
Source
ingredient_id
quantity