Class: Api::V5::RestaurantHistorySerializer
- Inherits:
-
BaseSerializer
- Object
- ActiveModel::Serializer
- ApplicationSerializer
- BaseSerializer
- Api::V5::RestaurantHistorySerializer
- Includes:
- RestaurantCommonFieldsSerializer
- Defined in:
- app/serializers/api/v5/restaurant_history_serializer.rb
Instance Method Summary collapse
Methods inherited from BaseSerializer
#full_attachment_url, #safe_translation_attr
Methods inherited from ApplicationSerializer
decorate_attributes, decorator
Instance Method Details
#object_cache_key ⇒ Object
250 251 252 |
# File 'app/serializers/api/v5/restaurant_history_serializer.rb', line 250 def object_cache_key "#{self.class.name}:#{object.view_cache_key}" end |