Class: MnoEnterprise::AuditEventsListener
- Inherits:
-
Object
- Object
- MnoEnterprise::AuditEventsListener
- Includes:
- HTTParty
- Defined in:
- lib/mno_enterprise/audit_events_listener.rb
Instance Method Summary collapse
Instance Method Details
#info(key, current_user_id, description, subject_type, subject_id, metadata) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/mno_enterprise/audit_events_listener.rb', line 10 def info(key, current_user_id, description, subject_type, subject_id, ) self.class.post('', body: { data: { key: key, user_id: current_user_id, description: description, metadata: , subject_type: subject_type, subject_id: subject_id }}) rescue Net::ReadTimeout # Meant to fail end |