Class: Bricolage::SQSClientWrapper
- Inherits:
-
Object
- Object
- Bricolage::SQSClientWrapper
- Defined in:
- lib/bricolage/sqsdatasource.rb
Instance Method Summary collapse
- #delete_message(**args) ⇒ Object
- #delete_message_batch(**args) ⇒ Object
-
#initialize(sqs, logger:) ⇒ SQSClientWrapper
constructor
A new instance of SQSClientWrapper.
- #receive_message(**args) ⇒ Object
- #send_message(**args) ⇒ Object
Constructor Details
#initialize(sqs, logger:) ⇒ SQSClientWrapper
Returns a new instance of SQSClientWrapper.
318 319 320 321 |
# File 'lib/bricolage/sqsdatasource.rb', line 318 def initialize(sqs, logger:) @sqs = sqs @logger = logger end |
Instance Method Details
#delete_message(**args) ⇒ Object
333 334 335 336 |
# File 'lib/bricolage/sqsdatasource.rb', line 333 def (**args) @logger.debug "delete_message(#{args.inspect})" @sqs.(**args) end |
#delete_message_batch(**args) ⇒ Object
338 339 340 341 |
# File 'lib/bricolage/sqsdatasource.rb', line 338 def (**args) @logger.debug "delete_message_batch(#{args.inspect})" @sqs.(**args) end |
#receive_message(**args) ⇒ Object
323 324 325 326 |
# File 'lib/bricolage/sqsdatasource.rb', line 323 def (**args) @logger.debug "receive_message(#{args.inspect})" @sqs.(**args) end |
#send_message(**args) ⇒ Object
328 329 330 331 |
# File 'lib/bricolage/sqsdatasource.rb', line 328 def (**args) @logger.debug "send_message(#{args.inspect})" @sqs.(**args) end |