class NotificationsController
Public Instance Methods
Source
# File app/controllers/notifications_controller.rb, line 8 def create delivery_id = params.require(:id) delivery_status = params.require(:status).underscore if (notify_log_entry = NotifyLogEntry.find_by(delivery_id:)) notify_log_entry.update!(delivery_status:) head :no_content else head :not_found end end