Class: Pigeon::MockProducer

Inherits:
Object
  • Object
show all
Defined in:
lib/pigeon.rb

Overview

Mock producer for testing

Instance Method Summary collapse

Instance Method Details

#produce_async?(_payload, **_options) ⇒ Boolean Also known as: produce_async

Returns:

  • (Boolean)


75
76
77
# File 'lib/pigeon.rb', line 75

def produce_async?(_payload, **_options)
  true
end

#produce_sync?(_payload, **_options) ⇒ Boolean Also known as: produce_sync

Returns:

  • (Boolean)


71
72
73
# File 'lib/pigeon.rb', line 71

def produce_sync?(_payload, **_options)
  true
end