Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
The write key is required even if using a test queue.
  • Loading branch information
bockets committed Oct 19, 2023
1 parent 46cec0c commit e9890ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ You can use the `test: true` option to Segment::Analytics.new to cause all reque
A test queue can be used as follows:

```ruby
client = Segment::Analytics.new(test: true)
client = Segment::Analytics.new(write_key: 'YOUR_WRITE_KEY', test: true)

client.test_queue # => #<Segment::Analytics::TestQueue:0x00007f88d454e9a8 @messages={}>

Expand Down

0 comments on commit e9890ba

Please sign in to comment.