Module: Vx::Common::AMQP::Consumer

Includes:
Ack, Instrument
Defined in:
lib/vx/common/amqp/consumer.rb,
lib/vx/common/amqp/testing.rb

Defined Under Namespace

Modules: Ack, ClassMethods, Configuration, Publish, Publish, Subscribe

Constant Summary collapse

@@classes =
[]

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Ack

#ack!, #nack!

Methods included from Instrument

#instrument

Instance Attribute Details

#channelObject

Returns the value of attribute channel.



19
20
21
# File 'lib/vx/common/amqp/consumer.rb', line 19

def channel
  @channel
end

#delivery_infoObject

Returns the value of attribute delivery_info.



17
18
19
# File 'lib/vx/common/amqp/consumer.rb', line 17

def delivery_info
  @delivery_info
end

#propertiesObject

Returns the value of attribute properties.



18
19
20
# File 'lib/vx/common/amqp/consumer.rb', line 18

def properties
  @properties
end

#uuidObject

Returns the value of attribute uuid.



20
21
22
# File 'lib/vx/common/amqp/consumer.rb', line 20

def uuid
  @uuid
end

Class Method Details

.classesObject



29
30
31
# File 'lib/vx/common/amqp/consumer.rb', line 29

def self.classes
  @@classes
end

.included(base) ⇒ Object



24
25
26
27
# File 'lib/vx/common/amqp/consumer.rb', line 24

def self.included(base)
  base.extend ClassMethods
  @@classes << base.to_s
end