Class: AmqpUtils::Serialization::MsgPack
- Defined in:
- lib/amqp_utils/serialization.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.deserialize(message) ⇒ Object
33 34 35 36 |
# File 'lib/amqp_utils/serialization.rb', line 33 def self.deserialize() require 'msgpack' MessagePack.unpack() end |
.serialize(message) ⇒ Object
38 39 40 41 |
# File 'lib/amqp_utils/serialization.rb', line 38 def self.serialize() require 'msgpack' .to_msgpack end |