Sha256: 9cd06a460ca1dffc162b2a66a9ff078d38c9c4d5396e70f2ced51f0e77b510cd
Contents?: true
Size: 385 Bytes
Versions: 3
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true module CottonTail # Wrapper around Bunny MessageProperties, used to supply route params class MessageProperties < Bunny::MessageProperties def merge(properties) self.class.new(@properties.merge(properties)) end def route_params @properties[:route_params] end def ==(other) to_h == other.to_h end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cotton-tail-0.7.0 | lib/cotton_tail/message_properties.rb |
cotton-tail-0.6.1 | lib/cotton_tail/message_properties.rb |
cotton-tail-0.6.0 | lib/cotton_tail/message_properties.rb |