Module: RosettaQueue::MessageHandler::ClassMethods
- Defined in:
- lib/rosetta_queue/message_handler.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
readonly
Returns the value of attribute destination.
-
#options_hash ⇒ Object
readonly
Returns the value of attribute options_hash.
Instance Method Summary collapse
- #options(options = {}) ⇒ Object
- #publishes_to(destination) ⇒ Object
- #subscribes_to(destination) ⇒ Object
Instance Attribute Details
#destination ⇒ Object (readonly)
Returns the value of attribute destination.
6 7 8 |
# File 'lib/rosetta_queue/message_handler.rb', line 6 def destination @destination end |
#options_hash ⇒ Object (readonly)
Returns the value of attribute options_hash.
6 7 8 |
# File 'lib/rosetta_queue/message_handler.rb', line 6 def @options_hash end |
Instance Method Details
#options(options = {}) ⇒ Object
8 9 10 |
# File 'lib/rosetta_queue/message_handler.rb', line 8 def ( = {}) @options_hash = end |
#publishes_to(destination) ⇒ Object
12 13 14 |
# File 'lib/rosetta_queue/message_handler.rb', line 12 def publishes_to(destination) @destination = destination end |
#subscribes_to(destination) ⇒ Object
16 17 18 |
# File 'lib/rosetta_queue/message_handler.rb', line 16 def subscribes_to(destination) @destination = destination end |