Class: RabbitMQSpec::Entity::Queue

Inherits:
Object
  • Object
show all
Defined in:
lib/rabbitmq-spec/entity/queue.rb

Overview

Represents an queue in the AMPQ broker

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeQueue

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

#descriptionString

Returns the current value of description.

Returns:

  • (String)

    the current value of description



7
8
9
# File 'lib/rabbitmq-spec/entity/queue.rb', line 7

def description
  @description
end

#nameString

Returns the current value of name.

Returns:

  • (String)

    the current value of name



7
8
9
# File 'lib/rabbitmq-spec/entity/queue.rb', line 7

def name
  @name
end

#optionsHash

Configuration options

Returns:

  • (Hash)

    the current value of options



7
8
9
# File 'lib/rabbitmq-spec/entity/queue.rb', line 7

def options
  @options
end

#routing_keyString

Returns the current value of routing_key.

Returns:

  • (String)

    the current value of routing_key



7
8
9
# File 'lib/rabbitmq-spec/entity/queue.rb', line 7

def routing_key
  @routing_key
end