songkick/transport — pull request #2 by tomblomfield (2013-03-03 14:44:54+00:00)
Title: Error status codes

Various frameworks are opinionated about the status codes they return for user-errors (eg validation failed).

Status codes that are treated as UserError can now be configured;

```ruby
# config/initializers/songkick-transport.rb
Songkick::Transport.user_error_status_codes = [409, 422]
```

Eg, Rails returns 422 for "validation failed" by default.