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.
5 6 7 |
# File 'lib/rosetta_queue/message_handler.rb', line 5 def destination @destination end |
#options_hash ⇒ Object (readonly)
Returns the value of attribute options_hash.
5 6 7 |
# File 'lib/rosetta_queue/message_handler.rb', line 5 def @options_hash end |
Instance Method Details
#options(options = {}) ⇒ Object
7 8 9 |
# File 'lib/rosetta_queue/message_handler.rb', line 7 def ( = {}) @options_hash = end |
#publishes_to(destination) ⇒ Object
11 12 13 |
# File 'lib/rosetta_queue/message_handler.rb', line 11 def publishes_to(destination) @destination = destination end |
#subscribes_to(destination) ⇒ Object
15 16 17 |
# File 'lib/rosetta_queue/message_handler.rb', line 15 def subscribes_to(destination) @destination = destination end |