Ajax::add_res()

Method: Add response key => value pair.

Ajax::verify_nonce()

Method: Verify nonce and die if failed.

Ajax::verify_permission()

Method: Verify permission of a user.

Ajax::set_success()

Method: Set ajax as success.

Ajax::set_fail()

Method: Set ajax as fail.

Ajax::snackbar()

Method: Add snackbar.

Ajax::req()

Method: Get and set request.

Ajax::send()

Method: Send ajax response.

Helper::prepare_template()

Method: Prepare template for email body based on event type.

Helper::prepare_emails()

Method: Get email ids of user. If email passed then add it to email property.