Module: Eivid::NotifyFrontService

Defined in:
app/services/eivid/notify_front_service.rb

Class Method Summary collapse

Class Method Details

.progress(progress_method, progress_hash) ⇒ Object



4
5
6
7
8
9
10
11
# File 'app/services/eivid/notify_front_service.rb', line 4

def progress(progress_method, progress_hash)
  return unless Eivid.notify_front_enabled
  
  main_app_proc = Eivid.send progress_method
  main_app_meth = main_app_proc.call progress_hash.deep_symbolize_keys

  eval main_app_meth
end