reagent/etsy — pull request #35 by trobrock (2012-06-01 17:29:39+00:00)
Title: Validations on JSON, don't fail with pagination, use the shops association

Adds some exceptions to handle errors in the API, this will also raise an exception when the content received in a response is not valid JSON.

The count method on a response now handles if the request was paginated. When paginated the `count` field shows all possible results so, when 100 possible results and offset of 100 is set `count` says 100, but `results` is `null`

`User.shop` now uses the association that is built into the API. This previously assumed the username for the shop name, which is not true in a lot of cases.

Also adding some file types to gitignore.