Class: RestaurantTagCpt::ModelDecorator

Inherits:
RestaurantTag show all
Defined in:
app/concepts/restaurant_tag_cpt/model_decorator.rb

Overview

Restaurant Tag does not support category, tag_en, and tag_th

Constant Summary

Constants inherited from RestaurantTag

RestaurantTag::AWARD_BADGE, RestaurantTag::AWARD_TYPE, RestaurantTag::BTS_ROUTE, RestaurantTag::CATEGORY_FILTER, RestaurantTag::CUISINE, RestaurantTag::DINING_STYLE, RestaurantTag::FACILITY, RestaurantTag::HASHTAGS, RestaurantTag::LOCATION, RestaurantTag::LOCATION_CATEGORIES, RestaurantTag::MRT_ROUTE, RestaurantTag::POPULAR_ZONE, RestaurantTag::REQUIRED_LOCALES, RestaurantTag::SHOPPING_MALL

Instance Attribute Summary collapse

Method Summary

Methods inherited from RestaurantTag

categories, cuisines_cache_key, #fetch_restaurants, find_by, locations_cache_key, order, original_find_by, original_order, original_where, #radius, #run_callback_for_geo_changes_on_create, #run_callback_for_geo_changes_on_update, tagged_as_ayce, tagged_as_bfp, tagged_as_pp, #title, #title=, #title_format, #update_search_icon_city, where

Methods inherited from ApplicationRecord

sync_carrierwave_url

Instance Attribute Details

#categoryObject

Returns the value of attribute category.



5
6
7
# File 'app/concepts/restaurant_tag_cpt/model_decorator.rb', line 5

def category
  @category
end