Class: AmqpUtils::Serialization::Base
- Inherits:
-
Object
- Object
- AmqpUtils::Serialization::Base
- Defined in:
- lib/amqp_utils/serialization.rb
Class Method Summary collapse
Class Method Details
.content_type(*content_types) ⇒ Object
23 24 25 26 27 |
# File 'lib/amqp_utils/serialization.rb', line 23 def self.content_type(*content_types) content_types.each do |ctype| AmqpUtils::Serialization.serializers[ctype] = self end end |