Skip to content

Commit 03c829b

Browse files
Fix example Client instantiation in the readme (#115)
1 parent 2ab646b commit 03c829b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ $ gem install stream-chat-ruby
4141
```ruby
4242
require 'stream-chat'
4343

44-
client = StreamChat::Client.new(api_key='STREAM_KEY', api_secret='STREAM_SECRET')
44+
client = StreamChat::Client.new('STREAM_KEY', 'STREAM_SECRET')
4545
```
4646

4747
> 💡 Note: since v2.21.0 we implemented [Sorbet](https://sorbet.org/) type checker. As of v2.x.x we only use it for static type checks and you won't notice any difference, but from v3.0.0 **we will enable runtime checks** 🚨 🚨 🚨.

0 commit comments

Comments
 (0)