Class: Sqewer::Connection::DeleteBuffer
- Inherits:
-
MessageBuffer
- Object
- Struct
- MessageBuffer
- Sqewer::Connection::DeleteBuffer
- Defined in:
- lib/sqewer/connection.rb
Overview
Saves the receipt handles to batch-delete from the SQS queue
Constant Summary
Constants inherited from MessageBuffer
Instance Attribute Summary
Attributes inherited from MessageBuffer
Instance Method Summary collapse
Methods inherited from MessageBuffer
Constructor Details
This class inherits a constructor from Sqewer::Connection::MessageBuffer
Instance Method Details
#delete_message(receipt_handle) ⇒ Object
87 88 89 90 91 92 |
# File 'lib/sqewer/connection.rb', line 87 def (receipt_handle) # The "id" is only valid _within_ the request, and is used when # an error response refers to a specific ID within a batch m = {receipt_handle: receipt_handle, id: .length.to_s} << m end |