Class: Api::V5::RestaurantHistorySerializer

Inherits:
BaseSerializer show all
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_keyObject



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