[#72205292] added rubyonly check in api conversion