{"action":"created","issue":{"url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/176","labels_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/176/comments","events_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/176/events","html_url":"https://github.com/gimite/google-drive-ruby/pull/176","id":118710370,"number":176,"title":"Use Config class to store credentials","user":{"login":"mtczerwinski","id":644275,"avatar_url":"https://avatars.githubusercontent.com/u/644275?v=3","gravatar_id":"","url":"https://api.github.com/users/mtczerwinski","html_url":"https://github.com/mtczerwinski","followers_url":"https://api.github.com/users/mtczerwinski/followers","following_url":"https://api.github.com/users/mtczerwinski/following{/other_user}","gists_url":"https://api.github.com/users/mtczerwinski/gists{/gist_id}","starred_url":"https://api.github.com/users/mtczerwinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtczerwinski/subscriptions","organizations_url":"https://api.github.com/users/mtczerwinski/orgs","repos_url":"https://api.github.com/users/mtczerwinski/repos","events_url":"https://api.github.com/users/mtczerwinski/events{/privacy}","received_events_url":"https://api.github.com/users/mtczerwinski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-24T21:48:52Z","updated_at":"2015-12-03T11:50:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gimite/google-drive-ruby/pulls/176","html_url":"https://github.com/gimite/google-drive-ruby/pull/176","diff_url":"https://github.com/gimite/google-drive-ruby/pull/176.diff","patch_url":"https://github.com/gimite/google-drive-ruby/pull/176.patch"},"body":"Related to #173.\r\nA user creates a file such as:\r\n```json\r\n{\r\n  \"client_id\": \"xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com\",\r\n  \"client_secret\": \"xxxxxxxxxxxxxxxxxxxxxxxx\",\r\n  \"redirect_uris\": [\r\n    \"urn:ietf:wg:oauth:2.0:oob\"\r\n  ],\r\n  \"scope\": [\r\n    \"https://www.googleapis.com/auth/drive \",\r\n    \"https://spreadsheets.google.com/feeds/\"\r\n  ],\r\n  \"access_token\": \"\"\r\n}\r\n```\r\nwhich contains everything that should have in order to save a session and allows the user to fetch Google Docs or Sheets.\r\n\r\nIt requires a little bit more testing (please check it also) and I am waiting for @gimite's opinion and community."},"comment":{"url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/comments/161608391","html_url":"https://github.com/gimite/google-drive-ruby/pull/176#issuecomment-161608391","issue_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/176","id":161608391,"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-12-03T11:50:14Z","updated_at":"2015-12-03T11:50:14Z","body":"Thanks for quick fixes! Added some more comments."}}