Class: Pigeon::MockProducer
- Inherits:
-
Object
- Object
- Pigeon::MockProducer
- Defined in:
- lib/pigeon/mock_producer.rb
Overview
Mock producer for testing
Instance Method Summary collapse
- #produce_async?(_payload, **_options) ⇒ Boolean (also: #produce_async)
- #produce_sync?(_payload, **_options) ⇒ Boolean (also: #produce_sync)
Instance Method Details
#produce_async?(_payload, **_options) ⇒ Boolean Also known as: produce_async
10 11 12 |
# File 'lib/pigeon/mock_producer.rb', line 10 def produce_async?(_payload, **) true end |
#produce_sync?(_payload, **_options) ⇒ Boolean Also known as: produce_sync
6 7 8 |
# File 'lib/pigeon/mock_producer.rb', line 6 def produce_sync?(_payload, **) true end |