class CottonTail::MessageProperties

Wrapper around Bunny MessageProperties, used to supply route params

Public Instance Methods

==(other) click to toggle source
# File lib/cotton_tail/message_properties.rb, line 14
def ==(other)
  to_h == other.to_h
end
merge(properties) click to toggle source
# File lib/cotton_tail/message_properties.rb, line 6
def merge(properties)
  self.class.new(@properties.merge(properties))
end
route_params() click to toggle source
# File lib/cotton_tail/message_properties.rb, line 10
def route_params
  @properties[:route_params]
end