struct KstwCanteenScraper::Dish
- KstwCanteenScraper::Dish
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
kstw_canteen_scraper/models.crConstructors
- .new(name : String, description : String, image_url : String | Nil, menu_line_id : String, student_price : Float64 | Nil, staff_price : Float64 | Nil, guest_price : Float64 | Nil, allergen_ids : Array(Int32), additive_ids : Array(Int32), time_begin : Time, time_end : Time, location_id : String, location_part : String | Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #additive_ids : Array(Int32)
- #allergen_ids : Array(Int32)
- #clone
- #copy_with(name _name = @name, description _description = @description, image_url _image_url = @image_url, menu_line_id _menu_line_id = @menu_line_id, student_price _student_price = @student_price, staff_price _staff_price = @staff_price, guest_price _guest_price = @guest_price, allergen_ids _allergen_ids = @allergen_ids, additive_ids _additive_ids = @additive_ids, time_begin _time_begin = @time_begin, time_end _time_end = @time_end, location_id _location_id = @location_id, location_part _location_part = @location_part)
- #description : String
- #guest_price : Float64 | Nil
- #image_url : String | Nil
- #location_id : String
- #location_part : String | Nil
- #menu_line_id : String
- #name : String
- #staff_price : Float64 | Nil
- #student_price : Float64 | Nil
- #time_begin : Time
- #time_end : Time