I love to know, if your user is drenched in, the next hooks will run two occasions the ajax_get_info() function, or even the wordpress_ajax_get_info will run just for loged in customers, and wordpress_ajax_nopriv_get_info will run just for customers that aren't drenched in ?
add_action('wp_ajax_get_info', array($this, 'ajax_get_info')); add_action('wp_ajax_nopriv_get_info', array($this, 'ajax_get_info'));
Your code is correct.
wp_ajax_get_info will run Just for drenched-in customers, while
wp_ajax_nopriv_get_info will run Just for non-drenched-in customers.
So, how you made it happen is correct, and can only ever execute once.