alert: return back ruby api