Class: RabbitMQSpec::Entity::Queue
- Inherits:
-
Object
- Object
- RabbitMQSpec::Entity::Queue
- Defined in:
- lib/rabbitmq-spec/entity/queue.rb
Overview
Represents an queue in the AMPQ broker
Instance Attribute Summary collapse
-
#description ⇒ String
The current value of description.
-
#name ⇒ String
The current value of name.
-
#options ⇒ Hash
Configuration options.
-
#routing_key ⇒ String
The current value of routing_key.
Instance Method Summary collapse
-
#initialize ⇒ Queue
constructor
A new instance of Queue.
Constructor Details
#initialize ⇒ Queue
Returns a new instance of Queue.
13 14 15 |
# File 'lib/rabbitmq-spec/entity/queue.rb', line 13 def initialize @options = {} end |
Instance Attribute Details
#description ⇒ String
Returns the current value of description.
7 8 9 |
# File 'lib/rabbitmq-spec/entity/queue.rb', line 7 def description @description end |
#name ⇒ String
Returns the current value of name.
7 8 9 |
# File 'lib/rabbitmq-spec/entity/queue.rb', line 7 def name @name end |
#options ⇒ Hash
Configuration options
7 8 9 |
# File 'lib/rabbitmq-spec/entity/queue.rb', line 7 def @options end |
#routing_key ⇒ String
Returns the current value of routing_key.
7 8 9 |
# File 'lib/rabbitmq-spec/entity/queue.rb', line 7 def routing_key @routing_key end |