Changed to use right_api_client gem