Sha256: ab68c3a11e36ec5948457d706ad971c9395e36d48cff266c21dbe99fe6c58319
Contents?: true
Size: 311 Bytes
Versions: 11
Compression:
Stored size: 311 Bytes
Contents
class GithubToken < OauthToken version 2 key do |access_token| user = JSON.parse(access_token.get("/api/v2/json/user/show")) user["id"] end settings "https://github.com", :authorize_path => "/login/oauth/authorize", :access_token_path => "/login/oauth/access_token" end
Version data entries
11 entries across 11 versions & 5 rubygems