README.md in bloodbath-1.1.0 vs README.md in bloodbath-1.1.1

- old
+ new

@@ -1,7 +1,11 @@ ![workflow](https://github.com/bloodbath-io/bloodbath-ruby/actions/workflows/main.yml/badge.svg) +![website](https://img.shields.io/website.svg?down_color=red&down_message=down&up_color=purple&up_message=up&url=http%3A%2F%2Fbloodbath.io) +[![GitHub release](https://img.shields.io/github/release/bloodbath-io/bloodbath-ruby.svg)](https://github.com/bloodbath-io/bloodbath-ruby/releases/) +![](https://ruby-gem-downloads-badge.herokuapp.com/bloodbath?type=total) + # Bloodbath Ruby Library The Bloodbath Ruby library provides convenient access to the Bloodbath API from applications written in the Ruby language. ## Installation @@ -67,9 +71,19 @@ endpoint: 'https://api.acme.com/path' ) ``` With this option, it'll schedule your events ~10 times faster, but you won't be able to receive the response directly. Instead, it'll return the spawned threads. + +### Verbose mode + +From time to time, things don't work the way you expect. You can switch on the verbose mode to see more data regarding your calls to Bloodbath. + +```ruby +Bloodbath.verbose = true +``` + +For instance, when using `wait_for_response: false` it'll outputs the results of the threads being spawned. ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.