Installation :
#Gemfile gem supportcenter
#Console rails g supportcenter:install
#clockwork file
every(2.minutes, 'check_mail'){
Supportcenter::SupportTicketsController.receive_mail if module_exists?
}
Installation :
#Gemfile gem supportcenter
#Console rails g supportcenter:install
#clockwork file
every(2.minutes, 'check_mail'){
Supportcenter::SupportTicketsController.receive_mail if module_exists?
}