Class: CPEE::Logging::Handler

Inherits:
Riddl::Implementation
  • Object
show all
Defined in:
lib/cpee-logging-xes-yaml/logging.rb

Instance Method Summary collapse

Instance Method Details

#responseObject



34
35
36
37
38
39
40
41
42
43
44
# File 'lib/cpee-logging-xes-yaml/logging.rb', line 34

def response
  topic         = @p[1].value
  event_name    = @p[2].value
  log_dir       = @a[0]
  template      = @a[1]
  notification  = @p[3].value.read
  EM.defer do
    CPEE::Logging::doc topic, event_name, log_dir, template, notification
  end
  nil
end