Method: AWS::SQS::ReceivedSNSMessage#initialize

Defined in:
lib/aws/sqs/received_sns_message.rb

#initialize(body, options = {}) ⇒ ReceivedSNSMessage

Returns a new instance of ReceivedSNSMessage.

Parameters:

  • body (String)

    The SQS message body from a message published by SNS.

  • options (Hash) (defaults to: {})


28
29
30
31
# File 'lib/aws/sqs/received_sns_message.rb', line 28

def initialize body, options = {}
  @body = body
  super
end