Class: Sincerely::Services::Events::AwsSesComplaintEvent

Inherits:
AwsSesEvent
  • Object
show all
Defined in:
lib/sincerely/services/events/aws_ses_complaint_event.rb

Instance Attribute Summary

Attributes inherited from AwsSesEvent

#event

Instance Method Summary collapse

Methods inherited from AwsSesEvent

#delivery_system, event_for, event_type, #event_type, #initialize, #message_id, #options, #recipient, #timestamp

Constructor Details

This class inherits a constructor from Sincerely::Services::Events::AwsSesEvent

Instance Method Details

#feedback_type ⇒ Object



19
20
21
# File 'lib/sincerely/services/events/aws_ses_complaint_event.rb', line 19

def feedback_type
  event.dig('complaint', 'complaintFeedbackType')
end

#ip_address ⇒ Object



7
8
9
# File 'lib/sincerely/services/events/aws_ses_complaint_event.rb', line 7

def ip_address
  nil
end


15
16
17
# File 'lib/sincerely/services/events/aws_ses_complaint_event.rb', line 15

def link
  nil
end

#user_agent ⇒ Object



11
12
13
# File 'lib/sincerely/services/events/aws_ses_complaint_event.rb', line 11

def user_agent
  event.dig('complaint', 'userAgent')
end