{"action":"created","comment":{"url":"https://api.github.com/repos/fog/fog-google/pulls/comments/191289212","pull_request_review_id":123830282,"id":191289212,"diff_hunk":"@@ -0,0 +1,29 @@\n+module Fog\n+  module Compute\n+    class Google\n+      class InstanceGroupManager < Fog::Model\n+        identity :name\n+\n+        attribute :kind\n+        attribute :self_link, :aliases => \"selfLink\"\n+        attribute :zone\n+        attribute :region\n+        attribute :instance_group, :aliases => \"instanceGroup\"\n+        attribute :instance_template, :aliases => \"instanceTemplate\"\n+\n+        def set_instance_template instance_template\n+          service.set_instance_template self, instance_template\n+        end\n+\n+        def recreate_instances instances","path":"lib/fog/compute/google/models/instance_group_manager.rb","position":18,"original_position":18,"commit_id":"d1bb218f955c194f40c2c2fff2eb8e3253dfe3db","original_commit_id":"d1bb218f955c194f40c2c2fff2eb8e3253dfe3db","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Style/MethodDefParentheses: Use def with parentheses when there are parameters.","created_at":"2018-05-29T01:51:58Z","updated_at":"2018-05-29T01:51:59Z","html_url":"https://github.com/fog/fog-google/pull/348#discussion_r191289212","pull_request_url":"https://api.github.com/repos/fog/fog-google/pulls/348","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/fog/fog-google/pulls/comments/191289212"},"html":{"href":"https://github.com/fog/fog-google/pull/348#discussion_r191289212"},"pull_request":{"href":"https://api.github.com/repos/fog/fog-google/pulls/348"}}},"pull_request":{"url":"https://api.github.com/repos/fog/fog-google/pulls/348","id":191016324,"html_url":"https://github.com/fog/fog-google/pull/348","diff_url":"https://github.com/fog/fog-google/pull/348.diff","patch_url":"https://github.com/fog/fog-google/pull/348.patch","issue_url":"https://api.github.com/repos/fog/fog-google/issues/348","number":348,"state":"open","locked":false,"title":"Add templates and instance group managers","user":{"login":"bpaquet","id":337117,"avatar_url":"https://avatars1.githubusercontent.com/u/337117?v=4","gravatar_id":"","url":"https://api.github.com/users/bpaquet","html_url":"https://github.com/bpaquet","followers_url":"https://api.github.com/users/bpaquet/followers","following_url":"https://api.github.com/users/bpaquet/following{/other_user}","gists_url":"https://api.github.com/users/bpaquet/gists{/gist_id}","starred_url":"https://api.github.com/users/bpaquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpaquet/subscriptions","organizations_url":"https://api.github.com/users/bpaquet/orgs","repos_url":"https://api.github.com/users/bpaquet/repos","events_url":"https://api.github.com/users/bpaquet/events{/privacy}","received_events_url":"https://api.github.com/users/bpaquet/received_events","type":"User","site_admin":false},"body":"Sorry, did not write tests, but I'm using it in prod.","created_at":"2018-05-29T01:51:35Z","updated_at":"2018-05-29T01:51:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e709e5fbe7ab27eaf856075764aab0dd69a7b2fa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fog/fog-google/pulls/348/commits","review_comments_url":"https://api.github.com/repos/fog/fog-google/pulls/348/comments","review_comment_url":"https://api.github.com/repos/fog/fog-google/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fog/fog-google/issues/348/comments","statuses_url":"https://api.github.com/repos/fog/fog-google/statuses/d1bb218f955c194f40c2c2fff2eb8e3253dfe3db","head":{"label":"bpaquet:templates","ref":"templates","sha":"d1bb218f955c194f40c2c2fff2eb8e3253dfe3db","user":{"login":"bpaquet","id":337117,"avatar_url":"https://avatars1.githubusercontent.com/u/337117?v=4","gravatar_id":"","url":"https://api.github.com/users/bpaquet","html_url":"https://github.com/bpaquet","followers_url":"https://api.github.com/users/bpaquet/followers","following_url":"https://api.github.com/users/bpaquet/following{/other_user}","gists_url":"https://api.github.com/users/bpaquet/gists{/gist_id}","starred_url":"https://api.github.com/users/bpaquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpaquet/subscriptions","organizations_url":"https://api.github.com/users/bpaquet/orgs","repos_url":"https://api.github.com/users/bpaquet/repos","events_url":"https://api.github.com/users/bpaquet/events{/privacy}","received_events_url":"https://api.github.com/users/bpaquet/received_events","type":"User","site_admin":false},"repo":{"id":134975684,"name":"fog-google","full_name":"bpaquet/fog-google","owner":{"login":"bpaquet","id":337117,"avatar_url":"https://avatars1.githubusercontent.com/u/337117?v=4","gravatar_id":"","url":"https://api.github.com/users/bpaquet","html_url":"https://github.com/bpaquet","followers_url":"https://api.github.com/users/bpaquet/followers","following_url":"https://api.github.com/users/bpaquet/following{/other_user}","gists_url":"https://api.github.com/users/bpaquet/gists{/gist_id}","starred_url":"https://api.github.com/users/bpaquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpaquet/subscriptions","organizations_url":"https://api.github.com/users/bpaquet/orgs","repos_url":"https://api.github.com/users/bpaquet/repos","events_url":"https://api.github.com/users/bpaquet/events{/privacy}","received_events_url":"https://api.github.com/users/bpaquet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bpaquet/fog-google","description":"Fog for Google Cloud Platform","fork":true,"url":"https://api.github.com/repos/bpaquet/fog-google","forks_url":"https://api.github.com/repos/bpaquet/fog-google/forks","keys_url":"https://api.github.com/repos/bpaquet/fog-google/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bpaquet/fog-google/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bpaquet/fog-google/teams","hooks_url":"https://api.github.com/repos/bpaquet/fog-google/hooks","issue_events_url":"https://api.github.com/repos/bpaquet/fog-google/issues/events{/number}","events_url":"https://api.github.com/repos/bpaquet/fog-google/events","assignees_url":"https://api.github.com/repos/bpaquet/fog-google/assignees{/user}","branches_url":"https://api.github.com/repos/bpaquet/fog-google/branches{/branch}","tags_url":"https://api.github.com/repos/bpaquet/fog-google/tags","blobs_url":"https://api.github.com/repos/bpaquet/fog-google/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bpaquet/fog-google/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bpaquet/fog-google/git/refs{/sha}","trees_url":"https://api.github.com/repos/bpaquet/fog-google/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bpaquet/fog-google/statuses/{sha}","languages_url":"https://api.github.com/repos/bpaquet/fog-google/languages","stargazers_url":"https://api.github.com/repos/bpaquet/fog-google/stargazers","contributors_url":"https://api.github.com/repos/bpaquet/fog-google/contributors","subscribers_url":"https://api.github.com/repos/bpaquet/fog-google/subscribers","subscription_url":"https://api.github.com/repos/bpaquet/fog-google/subscription","commits_url":"https://api.github.com/repos/bpaquet/fog-google/commits{/sha}","git_commits_url":"https://api.github.com/repos/bpaquet/fog-google/git/commits{/sha}","comments_url":"https://api.github.com/repos/bpaquet/fog-google/comments{/number}","issue_comment_url":"https://api.github.com/repos/bpaquet/fog-google/issues/comments{/number}","contents_url":"https://api.github.com/repos/bpaquet/fog-google/contents/{+path}","compare_url":"https://api.github.com/repos/bpaquet/fog-google/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bpaquet/fog-google/merges","archive_url":"https://api.github.com/repos/bpaquet/fog-google/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bpaquet/fog-google/downloads","issues_url":"https://api.github.com/repos/bpaquet/fog-google/issues{/number}","pulls_url":"https://api.github.com/repos/bpaquet/fog-google/pulls{/number}","milestones_url":"https://api.github.com/repos/bpaquet/fog-google/milestones{/number}","notifications_url":"https://api.github.com/repos/bpaquet/fog-google/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bpaquet/fog-google/labels{/name}","releases_url":"https://api.github.com/repos/bpaquet/fog-google/releases{/id}","deployments_url":"https://api.github.com/repos/bpaquet/fog-google/deployments","created_at":"2018-05-26T16:04:01Z","updated_at":"2018-05-29T01:23:06Z","pushed_at":"2018-05-29T01:51:01Z","git_url":"git://github.com/bpaquet/fog-google.git","ssh_url":"git@github.com:bpaquet/fog-google.git","clone_url":"https://github.com/bpaquet/fog-google.git","svn_url":"https://github.com/bpaquet/fog-google","homepage":"","size":1280,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fog:master","ref":"master","sha":"cb42edef37a7f01654a26cdd1e0551b9d8741bb0","user":{"login":"fog","id":991149,"avatar_url":"https://avatars3.githubusercontent.com/u/991149?v=4","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"repo":{"id":29195078,"name":"fog-google","full_name":"fog/fog-google","owner":{"login":"fog","id":991149,"avatar_url":"https://avatars3.githubusercontent.com/u/991149?v=4","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fog/fog-google","description":"Fog for Google Cloud Platform","fork":false,"url":"https://api.github.com/repos/fog/fog-google","forks_url":"https://api.github.com/repos/fog/fog-google/forks","keys_url":"https://api.github.com/repos/fog/fog-google/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fog/fog-google/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fog/fog-google/teams","hooks_url":"https://api.github.com/repos/fog/fog-google/hooks","issue_events_url":"https://api.github.com/repos/fog/fog-google/issues/events{/number}","events_url":"https://api.github.com/repos/fog/fog-google/events","assignees_url":"https://api.github.com/repos/fog/fog-google/assignees{/user}","branches_url":"https://api.github.com/repos/fog/fog-google/branches{/branch}","tags_url":"https://api.github.com/repos/fog/fog-google/tags","blobs_url":"https://api.github.com/repos/fog/fog-google/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fog/fog-google/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fog/fog-google/git/refs{/sha}","trees_url":"https://api.github.com/repos/fog/fog-google/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fog/fog-google/statuses/{sha}","languages_url":"https://api.github.com/repos/fog/fog-google/languages","stargazers_url":"https://api.github.com/repos/fog/fog-google/stargazers","contributors_url":"https://api.github.com/repos/fog/fog-google/contributors","subscribers_url":"https://api.github.com/repos/fog/fog-google/subscribers","subscription_url":"https://api.github.com/repos/fog/fog-google/subscription","commits_url":"https://api.github.com/repos/fog/fog-google/commits{/sha}","git_commits_url":"https://api.github.com/repos/fog/fog-google/git/commits{/sha}","comments_url":"https://api.github.com/repos/fog/fog-google/comments{/number}","issue_comment_url":"https://api.github.com/repos/fog/fog-google/issues/comments{/number}","contents_url":"https://api.github.com/repos/fog/fog-google/contents/{+path}","compare_url":"https://api.github.com/repos/fog/fog-google/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fog/fog-google/merges","archive_url":"https://api.github.com/repos/fog/fog-google/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fog/fog-google/downloads","issues_url":"https://api.github.com/repos/fog/fog-google/issues{/number}","pulls_url":"https://api.github.com/repos/fog/fog-google/pulls{/number}","milestones_url":"https://api.github.com/repos/fog/fog-google/milestones{/number}","notifications_url":"https://api.github.com/repos/fog/fog-google/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fog/fog-google/labels{/name}","releases_url":"https://api.github.com/repos/fog/fog-google/releases{/id}","deployments_url":"https://api.github.com/repos/fog/fog-google/deployments","created_at":"2015-01-13T15:02:24Z","updated_at":"2018-05-28T08:42:11Z","pushed_at":"2018-05-29T01:51:36Z","git_url":"git://github.com/fog/fog-google.git","ssh_url":"git@github.com:fog/fog-google.git","clone_url":"https://github.com/fog/fog-google.git","svn_url":"https://github.com/fog/fog-google","homepage":"","size":1287,"stargazers_count":59,"watchers_count":59,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":88,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":88,"open_issues":44,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fog/fog-google/pulls/348"},"html":{"href":"https://github.com/fog/fog-google/pull/348"},"issue":{"href":"https://api.github.com/repos/fog/fog-google/issues/348"},"comments":{"href":"https://api.github.com/repos/fog/fog-google/issues/348/comments"},"review_comments":{"href":"https://api.github.com/repos/fog/fog-google/pulls/348/comments"},"review_comment":{"href":"https://api.github.com/repos/fog/fog-google/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fog/fog-google/pulls/348/commits"},"statuses":{"href":"https://api.github.com/repos/fog/fog-google/statuses/d1bb218f955c194f40c2c2fff2eb8e3253dfe3db"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}