Adding missing ruby api's samples