Class: Dashboard::V2::ReservationSelfCheckinSerializer

Inherits:
ApplicationSerializer show all
Defined in:
app/serializers/dashboard/v2/reservation_self_checkin_serializer.rb

Overview

typed: ignore frozen_string_literal: true

Instance Method Summary collapse

Methods inherited from ApplicationSerializer

decorate_attributes, decorator, #object_cache_key

Instance Method Details

#restaurant_nameObject



12
13
14
# File 'app/serializers/dashboard/v2/reservation_self_checkin_serializer.rb', line 12

def restaurant_name
  object.restaurant.name
end