lib/submodules/ably-ruby/lib/ably/rest/channel.rb in ably-rest-0.7.3 vs lib/submodules/ably-ruby/lib/ably/rest/channel.rb in ably-rest-0.7.5
- old
+ new
@@ -41,10 +41,10 @@
payload = {
name: name,
data: data
}
- message = Ably::Models::Message.new(payload, nil).tap do |message|
+ message = Ably::Models::Message.new(payload).tap do |message|
message.encode self
end
response = client.post("#{base_path}/publish", message)