Skip to content

Commit

Permalink
Merge pull request #183 from zreisman/master
Browse files Browse the repository at this point in the history
Fix documentation for Channel#publish
  • Loading branch information
owenpearson authored May 16, 2021
2 parents 0ebe96a + 9943f1c commit 3da9dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ably/rest/channel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def initialize(client, name, channel_options = {})
#
# # Publish an array of message Hashes
# messages = [
# { name: 'click', { x: 1, y: 2 } },
# { name: 'click', { x: 2, y: 3 } }
# { name: 'click', data: { x: 1, y: 2 } },
# { name: 'click', data: { x: 2, y: 3 } }
# ]
# channel.publish messages
#
Expand Down

0 comments on commit 3da9dfb

Please sign in to comment.