{"action":"opened","number":1029,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/pulls/1029","id":92853910,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/1029","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/1029.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/1029.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/issues/1029","number":1029,"state":"open","locked":false,"title":"Add require boilerplate to Datastore examples","user":{"login":"quartzmo","id":205445,"avatar_url":"https://avatars.githubusercontent.com/u/205445?v=3","gravatar_id":"","url":"https://api.github.com/users/quartzmo","html_url":"https://github.com/quartzmo","followers_url":"https://api.github.com/users/quartzmo/followers","following_url":"https://api.github.com/users/quartzmo/following{/other_user}","gists_url":"https://api.github.com/users/quartzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/quartzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quartzmo/subscriptions","organizations_url":"https://api.github.com/users/quartzmo/orgs","repos_url":"https://api.github.com/users/quartzmo/repos","events_url":"https://api.github.com/users/quartzmo/events{/privacy}","received_events_url":"https://api.github.com/users/quartzmo/received_events","type":"User","site_admin":false},"body":"Consistently begin each code example with the following setup:\r\n\r\n```ruby\r\n# @example\r\n#   require \"google/cloud/datastore\"\r\n#\r\n#   datastore = Google::Cloud::Datastore.new\r\n#\r\n#   ...\r\n#\r\n```\r\n\r\n[refs #226]\r\n","created_at":"2016-11-08T20:35:12Z","updated_at":"2016-11-08T20:35:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"blowmage","id":730,"avatar_url":"https://avatars.githubusercontent.com/u/730?v=3","gravatar_id":"","url":"https://api.github.com/users/blowmage","html_url":"https://github.com/blowmage","followers_url":"https://api.github.com/users/blowmage/followers","following_url":"https://api.github.com/users/blowmage/following{/other_user}","gists_url":"https://api.github.com/users/blowmage/gists{/gist_id}","starred_url":"https://api.github.com/users/blowmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blowmage/subscriptions","organizations_url":"https://api.github.com/users/blowmage/orgs","repos_url":"https://api.github.com/users/blowmage/repos","events_url":"https://api.github.com/users/blowmage/events{/privacy}","received_events_url":"https://api.github.com/users/blowmage/received_events","type":"User","site_admin":false},"assignees":[{"login":"blowmage","id":730,"avatar_url":"https://avatars.githubusercontent.com/u/730?v=3","gravatar_id":"","url":"https://api.github.com/users/blowmage","html_url":"https://github.com/blowmage","followers_url":"https://api.github.com/users/blowmage/followers","following_url":"https://api.github.com/users/blowmage/following{/other_user}","gists_url":"https://api.github.com/users/blowmage/gists{/gist_id}","starred_url":"https://api.github.com/users/blowmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blowmage/subscriptions","organizations_url":"https://api.github.com/users/blowmage/orgs","repos_url":"https://api.github.com/users/blowmage/repos","events_url":"https://api.github.com/users/blowmage/events{/privacy}","received_events_url":"https://api.github.com/users/blowmage/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/pulls/1029/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/pulls/1029/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/issues/1029/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/statuses/c2b8a4ee014aefdb593ade118748a764f70ae4eb","head":{"label":"quartzmo:datastore-examples","ref":"datastore-examples","sha":"c2b8a4ee014aefdb593ade118748a764f70ae4eb","user":{"login":"quartzmo","id":205445,"avatar_url":"https://avatars.githubusercontent.com/u/205445?v=3","gravatar_id":"","url":"https://api.github.com/users/quartzmo","html_url":"https://github.com/quartzmo","followers_url":"https://api.github.com/users/quartzmo/followers","following_url":"https://api.github.com/users/quartzmo/following{/other_user}","gists_url":"https://api.github.com/users/quartzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/quartzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quartzmo/subscriptions","organizations_url":"https://api.github.com/users/quartzmo/orgs","repos_url":"https://api.github.com/users/quartzmo/repos","events_url":"https://api.github.com/users/quartzmo/events{/privacy}","received_events_url":"https://api.github.com/users/quartzmo/received_events","type":"User","site_admin":false},"repo":{"id":39036255,"name":"google-cloud-ruby","full_name":"quartzmo/google-cloud-ruby","owner":{"login":"quartzmo","id":205445,"avatar_url":"https://avatars.githubusercontent.com/u/205445?v=3","gravatar_id":"","url":"https://api.github.com/users/quartzmo","html_url":"https://github.com/quartzmo","followers_url":"https://api.github.com/users/quartzmo/followers","following_url":"https://api.github.com/users/quartzmo/following{/other_user}","gists_url":"https://api.github.com/users/quartzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/quartzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quartzmo/subscriptions","organizations_url":"https://api.github.com/users/quartzmo/orgs","repos_url":"https://api.github.com/users/quartzmo/repos","events_url":"https://api.github.com/users/quartzmo/events{/privacy}","received_events_url":"https://api.github.com/users/quartzmo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quartzmo/google-cloud-ruby","description":"Google Cloud Client Library for Ruby","fork":true,"url":"https://api.github.com/repos/quartzmo/google-cloud-ruby","forks_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/forks","keys_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/teams","hooks_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/hooks","issue_events_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/events","assignees_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/tags","blobs_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/languages","stargazers_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/stargazers","contributors_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/contributors","subscribers_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/subscribers","subscription_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/subscription","commits_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/merges","archive_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/downloads","issues_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/labels{/name}","releases_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/quartzmo/google-cloud-ruby/deployments","created_at":"2015-07-13T20:43:32Z","updated_at":"2016-09-07T19:40:17Z","pushed_at":"2016-11-08T20:30:38Z","git_url":"git://github.com/quartzmo/google-cloud-ruby.git","ssh_url":"git@github.com:quartzmo/google-cloud-ruby.git","clone_url":"https://github.com/quartzmo/google-cloud-ruby.git","svn_url":"https://github.com/quartzmo/google-cloud-ruby","homepage":"https://quartzmo.github.io/google-cloud-ruby/","size":16275,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"4e06d9aa2c86ff7aa348e41ef8e21c6b8517096c","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":20343475,"name":"google-cloud-ruby","full_name":"GoogleCloudPlatform/google-cloud-ruby","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-ruby","description":"Google Cloud Client Library for Ruby","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/deployments","created_at":"2014-05-30T21:47:14Z","updated_at":"2016-11-07T22:05:25Z","pushed_at":"2016-11-08T16:11:31Z","git_url":"git://github.com/GoogleCloudPlatform/google-cloud-ruby.git","ssh_url":"git@github.com:GoogleCloudPlatform/google-cloud-ruby.git","clone_url":"https://github.com/GoogleCloudPlatform/google-cloud-ruby.git","svn_url":"https://github.com/GoogleCloudPlatform/google-cloud-ruby","homepage":"https://googlecloudplatform.github.io/google-cloud-ruby/","size":20693,"stargazers_count":169,"watchers_count":169,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":76,"mirror_url":null,"open_issues_count":61,"forks":76,"open_issues":61,"watchers":169,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/pulls/1029"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/1029"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/issues/1029"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/issues/1029/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/pulls/1029/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/pulls/1029/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-ruby/statuses/c2b8a4ee014aefdb593ade118748a764f70ae4eb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":440,"deletions":0,"changed_files":10}}
{"actor":{"display_login":"quartzmo"}}