Class: HhPackage::Package::HungrySet
- Includes:
- ModelConcerns::AgendaType, ModelConcerns::CommonRelations, ModelConcerns::PackageTraits, ModelConcerns::Translation
- Defined in:
- app/models/hh_package/package/hungry_set.rb
Overview
typed: ignore
Constant Summary collapse
- TYPE_SHORT =
'hs'- PER_SET =
1
Constants included from ModelConcerns::MixAndMatch
ModelConcerns::MixAndMatch::MINIMUM_MIX_AND_MATCH
Instance Method Summary collapse
- #for_delivery? ⇒ Boolean
- #for_dine_in? ⇒ Boolean
- #route_name ⇒ Object
- #slug_code ⇒ Object
- #type ⇒ Object
- #type_short ⇒ Object
Methods included from ModelConcerns::PackageTraits
#badge_percentage, #fetch_comemore_payless, #have_menu_quantity_limit?, #prepaid_package?, #promotion_badge, #promotion_text, #promotion_type, #reservation_duration_for_display, #validate_name_and_description
Methods included from ModelConcerns::AgendaType
Methods inherited from Base
#kids_price_rate, #menu_group_id, #menu_group_id=, per_pack_or_set, #reservations, #tnc_link
Methods included from ModelConcerns::DynamicPricingsForPackage
#ala_carte?, #decide_max_seat, #decide_min_seat, #dynamic_price_comemore_payless?, #dynamic_pricings_as_json, #highest_pricing, #lowest_pricing, #price_currency, #pricing_model_and_dynamic_pricing_type, #pricing_tier, pricing_type, #pricing_type_humanize, #validate_comemore_payless_promotion, #validate_menu_v3_diy
Methods included from ModelConcerns::MixAndMatch
#allow_mix_and_match?, #allow_mix_ayce?, #mix_n_match_qty, #use_mix_and_match?
Methods included from SoftDelete
Instance Method Details
#for_delivery? ⇒ Boolean
36 37 38 |
# File 'app/models/hh_package/package/hungry_set.rb', line 36 def for_delivery? false end |
#for_dine_in? ⇒ Boolean
32 33 34 |
# File 'app/models/hh_package/package/hungry_set.rb', line 32 def for_dine_in? true end |
#route_name ⇒ Object
20 21 22 |
# File 'app/models/hh_package/package/hungry_set.rb', line 20 def route_name 'hungry_set' end |
#slug_code ⇒ Object
28 29 30 |
# File 'app/models/hh_package/package/hungry_set.rb', line 28 def slug_code 'HS' end |
#type ⇒ Object
16 17 18 |
# File 'app/models/hh_package/package/hungry_set.rb', line 16 def type 'Hungry Lunch' end |
#type_short ⇒ Object
24 25 26 |
# File 'app/models/hh_package/package/hungry_set.rb', line 24 def type_short 'hs' end |