Skip to content

Commit

Permalink
[ci skip] small description on readme for identified_by
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajarshi Das committed Jul 30, 2015
1 parent 0c30d87 commit 123fc0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -62,6 +62,8 @@ module ApplicationCable
end
end
```
Here `identified_by` is a connection identifier that can be used to find the specific connection again or later.
Note that anything marked as an identifier will automatically create a delegate by the same name on any channel instances created off the connection.

Then you should define your `ApplicationCable::Channel` class in Ruby. This is the place where you put
shared logic between your channels.
Expand Down

0 comments on commit 123fc0d

Please sign in to comment.