peter-murach/github — pull request #157 by jeffrwells (2014-03-30 21:37:35+00:00)
Title: Check an authorization feature

Implementation of check feature requested in #155

http://developer.github.com/v3/oauth_authorizations/#check-an-authorization

The GitHub documentation specifies that an invalid authorization returns a 404. I decided to catch the `Github::Error::NotFound` and return `nil` so that the return value is falsy if invalid. On 200 it returns the resource.