lib/submodules/ably-ruby/lib/ably/modules/message_pack.rb in ably-rest-0.8.2 vs lib/submodules/ably-ruby/lib/ably/modules/message_pack.rb in ably-rest-0.8.3
- old
+ new
@@ -5,10 +5,10 @@
# supports the method #as_json
#
module MessagePack
# Generate a packed MsgPack version of this object based on the JSON representation.
# Keys thus use mixedCase syntax as expected by the Realtime API
- def to_msgpack(*args)
- as_json(*args).to_msgpack
+ def to_msgpack(pk = nil)
+ as_json.to_msgpack(pk)
end
end
end