{"push_id":1323271580,"size":1,"distinct_size":1,"ref":"refs/heads/update-gds-api-adapters-behaviour","head":"e3ec2e29e6ebe3328a702841fd722bfa73813755","before":"66092bd0abff019d3c8cd65b194d17fbfbcfecac","commits":[{"sha":"e3ec2e29e6ebe3328a702841fd722bfa73813755","author":{"name":"Emma Beynon","email":"a57a01ca19025cae29e2e17dc83fdaffd1b25bb8@digital.cabinet-office.gov.uk"},"message":"Use new GDS API Adapters behaviour\n\n[Trello card](https://trello.com/c/B5z6Dq8q/)\n\nSome old behaviour has been deprecated in [gds-api-adapters](https://github.com/alphagov/gds-api-adapters) so we are updating this app to comply with this before it becomes the default. Firstly, a `GdsApi::NotFound` error is now raised when the server returns a 404 or 410.  Secondly, requests now return a hash instead of an OpenStruct.  We have now opted in to this new behaviour. We are also now handling exceptions raised by gds-api-adapters in the `Scheme` model.","distinct":true,"url":"https://api.github.com/repos/alphagov/business-support-api/commits/e3ec2e29e6ebe3328a702841fd722bfa73813755"}]}
{"actor":{"display_login":"emmabeynon"}}