Class: CottonTail::Request
- Inherits:
-
Struct
- Object
- Struct
- CottonTail::Request
- Defined in:
- lib/cotton_tail.rb
Instance Attribute Summary collapse
-
#delivery_info ⇒ Object
Returns the value of attribute delivery_info.
-
#payload ⇒ Object
Returns the value of attribute payload.
-
#properties ⇒ Object
Returns the value of attribute properties.
Instance Method Summary collapse
Instance Attribute Details
#delivery_info ⇒ Object
Returns the value of attribute delivery_info
15 16 17 |
# File 'lib/cotton_tail.rb', line 15 def delivery_info @delivery_info end |
#payload ⇒ Object
Returns the value of attribute payload
15 16 17 |
# File 'lib/cotton_tail.rb', line 15 def payload @payload end |
#properties ⇒ Object
Returns the value of attribute properties
15 16 17 |
# File 'lib/cotton_tail.rb', line 15 def properties @properties end |
Instance Method Details
#channel ⇒ Object
24 25 26 |
# File 'lib/cotton_tail.rb', line 24 def channel delivery_info[:channel] end |
#delivery_tag ⇒ Object
20 21 22 |
# File 'lib/cotton_tail.rb', line 20 def delivery_tag delivery_info[:delivery_tag] end |
#routing_key ⇒ Object
16 17 18 |
# File 'lib/cotton_tail.rb', line 16 def routing_key delivery_info[:routing_key] end |