lib/submodules/ably-ruby/lib/ably/models/presence_message.rb in ably-rest-0.9.1 vs lib/submodules/ably-ruby/lib/ably/models/presence_message.rb in ably-rest-0.9.2
- old
+ new
@@ -50,9 +50,12 @@
:enter,
:leave,
:update
)
+ # Statically register a default set of encoders for this class
+ Ably::Models::MessageEncoders.register_default_encoders self
+
# {PresenceMessage} initializer
#
# @param attributes [Hash] object with the underlying presence message key value attributes
# @param [Hash] options an options Hash for this initializer
# @option options [ProtocolMessage] :protocol_message An optional protocol message to assocate the presence message with