Class: Aws::SQS::Plugins::Md5s

Inherits:
Seahorse::Client::Plugin
  • Object
show all
Defined in:
lib/aws-sdk-sqs/plugins/md5s.rb

Defined Under Namespace

Classes: Handler

Instance Method Summary collapse

Instance Method Details

#add_handlers(handlers, config) ⇒ Object


156
157
158
159
160
161
162
163
164
# File 'lib/aws-sdk-sqs/plugins/md5s.rb', line 156

def add_handlers(handlers, config)
  if config.verify_checksums
    handlers.add(Handler, {
      priority: 10 ,
      step: :validate,
      operations: [:send_message, :send_message_batch]
    })
  end
end