Sha256: 5935f4d9c84a844cc169a7f6b0a950f3c94bb5fe412d8f14a15d9291d7c35b7e
Contents?: true
Size: 597 Bytes
Versions: 7
Compression:
Stored size: 597 Bytes
Contents
module RosettaQueue module MessageHandler module ClassMethods attr_reader :destination, :options_hash def options(options = {}) @options_hash = options end def publishes_to(destination) @destination = destination end def subscribes_to(destination) @destination = destination end end def self.included(receiver) receiver.extend(ClassMethods) def destination self.class.destination end def options_hash self.class.options_hash end end end end
Version data entries
7 entries across 7 versions & 2 rubygems