adding ruby api flow chart