Object
# File lib/activemessaging/base_message.rb, line 6 def initialize(body=nil, id=nil, headers={}, destination=nil) @body, @id, @headers, @destination = body, id, headers, destination end
# File lib/activemessaging/base_message.rb, line 10 def matches_subscription?(subscription) self.destination.to_s == subscription.destination.value.to_s end
# File lib/activemessaging/base_message.rb, line 14 def to_s "<#{self.class.name} id='#{id}' headers='#{headers.inspect}' body='#{body}' >" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.