Internal API client (from erlang to RoR)