Mashape/unirest-ruby — pull request #7 by mxlje (2014-01-22 11:54:59+00:00)
Title: Add ability to customize user-agent string

Since the user-agent is currently defined as a constant (`Unirest::USER_AGENT`), there’s no clean way to customize it. This PR adds a method on the `Unirest` module to override the default string.

```ruby
Unirest.user_agent("custom_user_agent")
```