Module: Bunny::Queue::Types

Defined in:
lib/bunny/queue.rb

Overview

API

Constant Summary collapse

QUORUM =
"quorum"
CLASSIC =
"classic"
STREAM =
"stream"
KNOWN =
[CLASSIC, QUORUM, STREAM]

Class Method Summary collapse

Class Method Details

.known?(q_type) ⇒ Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/bunny/queue.rb', line 21

def self.known?(q_type)
  KNOWN.include?(q_type)
end