{"action":"created","issue":{"url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/155","labels_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/155/comments","events_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/155/events","html_url":"https://github.com/gimite/google-drive-ruby/issues/155","id":90689004,"number":155,"title":"Missing `refresh_token` documentation","user":{"login":"caedes","id":1019321,"avatar_url":"https://avatars.githubusercontent.com/u/1019321?v=3","gravatar_id":"","url":"https://api.github.com/users/caedes","html_url":"https://github.com/caedes","followers_url":"https://api.github.com/users/caedes/followers","following_url":"https://api.github.com/users/caedes/following{/other_user}","gists_url":"https://api.github.com/users/caedes/gists{/gist_id}","starred_url":"https://api.github.com/users/caedes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caedes/subscriptions","organizations_url":"https://api.github.com/users/caedes/orgs","repos_url":"https://api.github.com/users/caedes/repos","events_url":"https://api.github.com/users/caedes/events{/privacy}","received_events_url":"https://api.github.com/users/caedes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-24T14:17:07Z","updated_at":"2015-09-24T09:22:58Z","closed_at":null,"body":"Hello,\r\n\r\nI just read in the [OAuth2.0 Google Developers Guides](https://developers.google.com/identity/protocols/OAuth2WebServer#refresh) that we can use some `refresh_token` to not to be force to login again and again at each script run.\r\n\r\nSounds awesome! :sparkles: \r\n\r\nCould someone provide some documentation :book: on how to use it properly with the `google-drive-ruby` :gem:? I can't make it by myself..."},"comment":{"url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/comments/142866310","html_url":"https://github.com/gimite/google-drive-ruby/issues/155#issuecomment-142866310","issue_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/155","id":142866310,"user":{"login":"gimite","id":15363,"avatar_url":"https://avatars.githubusercontent.com/u/15363?v=3","gravatar_id":"","url":"https://api.github.com/users/gimite","html_url":"https://github.com/gimite","followers_url":"https://api.github.com/users/gimite/followers","following_url":"https://api.github.com/users/gimite/following{/other_user}","gists_url":"https://api.github.com/users/gimite/gists{/gist_id}","starred_url":"https://api.github.com/users/gimite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimite/subscriptions","organizations_url":"https://api.github.com/users/gimite/orgs","repos_url":"https://api.github.com/users/gimite/repos","events_url":"https://api.github.com/users/gimite/events{/privacy}","received_events_url":"https://api.github.com/users/gimite/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T09:22:58Z","updated_at":"2015-09-24T09:22:58Z","body":"If you use @fuzzyjulz 's example code (i.e., setting auth.redirect_uri = \"urn:ietf:wg:oauth:2.0:oob\") then the application type *must* be \"Installed application\"."}}