Class: Spree::Api::V2::Tenant::CustomerNotificationsController
- Inherits:
-
BaseController
- Object
- ResourceController
- BaseController
- Spree::Api::V2::Tenant::CustomerNotificationsController
show all
- Defined in:
- app/controllers/spree/api/v2/tenant/customer_notifications_controller.rb
Instance Method Summary
collapse
#render_serialized_payload, #require_tenant, #scope
Instance Method Details
#resource_serializer ⇒ Object
#show ⇒ Object
8
9
10
11
|
# File 'app/controllers/spree/api/v2/tenant/customer_notifications_controller.rb', line 8
def show
customer_notification = SpreeCmCommissioner::CustomerNotification.find(params[:id])
render_serialized_payload { serialize_resource(customer_notification) }
end
|