{"action":"created","comment":{"url":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/comments/81142110","pull_request_review_id":2143190,"id":81142110,"diff_hunk":"@@ -14,12 +14,81 @@ def sanitize(params, only_top_level = false, key_sanitizer = nil)\n     end\n     extend ClassMethods\n \n+    def self.data_generate(body)\n+      Data.generate(body)\n+    end\n+\n+    class Data\n+      class << self","path":"lib/appsignal/utils.rb","position":9,"original_position":9,"commit_id":"ab7a2d12e4faf29535cef96a9740d0c669a3533e","original_commit_id":"ab7a2d12e4faf29535cef96a9740d0c669a3533e","user":{"login":"tombruijn","id":282402,"avatar_url":"https://avatars.githubusercontent.com/u/282402?v=3","gravatar_id":"","url":"https://api.github.com/users/tombruijn","html_url":"https://github.com/tombruijn","followers_url":"https://api.github.com/users/tombruijn/followers","following_url":"https://api.github.com/users/tombruijn/following{/other_user}","gists_url":"https://api.github.com/users/tombruijn/gists{/gist_id}","starred_url":"https://api.github.com/users/tombruijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombruijn/subscriptions","organizations_url":"https://api.github.com/users/tombruijn/orgs","repos_url":"https://api.github.com/users/tombruijn/repos","events_url":"https://api.github.com/users/tombruijn/events{/privacy}","received_events_url":"https://api.github.com/users/tombruijn/received_events","type":"User","site_admin":false},"body":"Is there a reason this has to be a singleton class or can it be a module as well?","created_at":"2016-09-29T13:57:24Z","updated_at":"2016-09-29T13:57:24Z","html_url":"https://github.com/appsignal/appsignal-ruby/pull/175#discussion_r81142110","pull_request_url":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/175","_links":{"self":{"href":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/comments/81142110"},"html":{"href":"https://github.com/appsignal/appsignal-ruby/pull/175#discussion_r81142110"},"pull_request":{"href":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/175","id":86931436,"html_url":"https://github.com/appsignal/appsignal-ruby/pull/175","diff_url":"https://github.com/appsignal/appsignal-ruby/pull/175.diff","patch_url":"https://github.com/appsignal/appsignal-ruby/pull/175.patch","issue_url":"https://api.github.com/repos/appsignal/appsignal-ruby/issues/175","number":175,"state":"open","locked":false,"title":"Use data type from extension instead of generating json","user":{"login":"thijsc","id":9794,"avatar_url":"https://avatars.githubusercontent.com/u/9794?v=3","gravatar_id":"","url":"https://api.github.com/users/thijsc","html_url":"https://github.com/thijsc","followers_url":"https://api.github.com/users/thijsc/followers","following_url":"https://api.github.com/users/thijsc/following{/other_user}","gists_url":"https://api.github.com/users/thijsc/gists{/gist_id}","starred_url":"https://api.github.com/users/thijsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thijsc/subscriptions","organizations_url":"https://api.github.com/users/thijsc/orgs","repos_url":"https://api.github.com/users/thijsc/repos","events_url":"https://api.github.com/users/thijsc/events{/privacy}","received_events_url":"https://api.github.com/users/thijsc/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-27T13:38:06Z","updated_at":"2016-09-29T14:03:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a4d87013f64e21547f65dd1fbf628905d3420aa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/175/commits","review_comments_url":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/175/comments","review_comment_url":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appsignal/appsignal-ruby/issues/175/comments","statuses_url":"https://api.github.com/repos/appsignal/appsignal-ruby/statuses/ab7a2d12e4faf29535cef96a9740d0c669a3533e","head":{"label":"appsignal:appsignal_data","ref":"appsignal_data","sha":"ab7a2d12e4faf29535cef96a9740d0c669a3533e","user":{"login":"appsignal","id":3984134,"avatar_url":"https://avatars.githubusercontent.com/u/3984134?v=3","gravatar_id":"","url":"https://api.github.com/users/appsignal","html_url":"https://github.com/appsignal","followers_url":"https://api.github.com/users/appsignal/followers","following_url":"https://api.github.com/users/appsignal/following{/other_user}","gists_url":"https://api.github.com/users/appsignal/gists{/gist_id}","starred_url":"https://api.github.com/users/appsignal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsignal/subscriptions","organizations_url":"https://api.github.com/users/appsignal/orgs","repos_url":"https://api.github.com/users/appsignal/repos","events_url":"https://api.github.com/users/appsignal/events{/privacy}","received_events_url":"https://api.github.com/users/appsignal/received_events","type":"Organization","site_admin":false},"repo":{"id":10100635,"name":"appsignal-ruby","full_name":"appsignal/appsignal-ruby","owner":{"login":"appsignal","id":3984134,"avatar_url":"https://avatars.githubusercontent.com/u/3984134?v=3","gravatar_id":"","url":"https://api.github.com/users/appsignal","html_url":"https://github.com/appsignal","followers_url":"https://api.github.com/users/appsignal/followers","following_url":"https://api.github.com/users/appsignal/following{/other_user}","gists_url":"https://api.github.com/users/appsignal/gists{/gist_id}","starred_url":"https://api.github.com/users/appsignal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsignal/subscriptions","organizations_url":"https://api.github.com/users/appsignal/orgs","repos_url":"https://api.github.com/users/appsignal/repos","events_url":"https://api.github.com/users/appsignal/events{/privacy}","received_events_url":"https://api.github.com/users/appsignal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appsignal/appsignal-ruby","description":"AppSignal agent for Ruby","fork":false,"url":"https://api.github.com/repos/appsignal/appsignal-ruby","forks_url":"https://api.github.com/repos/appsignal/appsignal-ruby/forks","keys_url":"https://api.github.com/repos/appsignal/appsignal-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appsignal/appsignal-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appsignal/appsignal-ruby/teams","hooks_url":"https://api.github.com/repos/appsignal/appsignal-ruby/hooks","issue_events_url":"https://api.github.com/repos/appsignal/appsignal-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/appsignal/appsignal-ruby/events","assignees_url":"https://api.github.com/repos/appsignal/appsignal-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/appsignal/appsignal-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/appsignal/appsignal-ruby/tags","blobs_url":"https://api.github.com/repos/appsignal/appsignal-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appsignal/appsignal-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appsignal/appsignal-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/appsignal/appsignal-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appsignal/appsignal-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/appsignal/appsignal-ruby/languages","stargazers_url":"https://api.github.com/repos/appsignal/appsignal-ruby/stargazers","contributors_url":"https://api.github.com/repos/appsignal/appsignal-ruby/contributors","subscribers_url":"https://api.github.com/repos/appsignal/appsignal-ruby/subscribers","subscription_url":"https://api.github.com/repos/appsignal/appsignal-ruby/subscription","commits_url":"https://api.github.com/repos/appsignal/appsignal-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/appsignal/appsignal-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/appsignal/appsignal-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/appsignal/appsignal-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/appsignal/appsignal-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/appsignal/appsignal-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appsignal/appsignal-ruby/merges","archive_url":"https://api.github.com/repos/appsignal/appsignal-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appsignal/appsignal-ruby/downloads","issues_url":"https://api.github.com/repos/appsignal/appsignal-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/appsignal/appsignal-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/appsignal/appsignal-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appsignal/appsignal-ruby/labels{/name}","releases_url":"https://api.github.com/repos/appsignal/appsignal-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/appsignal/appsignal-ruby/deployments","created_at":"2013-05-16T12:25:54Z","updated_at":"2016-08-18T07:02:59Z","pushed_at":"2016-09-29T12:47:13Z","git_url":"git://github.com/appsignal/appsignal-ruby.git","ssh_url":"git@github.com:appsignal/appsignal-ruby.git","clone_url":"https://github.com/appsignal/appsignal-ruby.git","svn_url":"https://github.com/appsignal/appsignal-ruby","homepage":"https://appsignal.com","size":2500,"stargazers_count":28,"watchers_count":28,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":11,"forks":43,"open_issues":11,"watchers":28,"default_branch":"master"}},"base":{"label":"appsignal:develop","ref":"develop","sha":"b56b932756ee7a64f99b946c23627b3909939c24","user":{"login":"appsignal","id":3984134,"avatar_url":"https://avatars.githubusercontent.com/u/3984134?v=3","gravatar_id":"","url":"https://api.github.com/users/appsignal","html_url":"https://github.com/appsignal","followers_url":"https://api.github.com/users/appsignal/followers","following_url":"https://api.github.com/users/appsignal/following{/other_user}","gists_url":"https://api.github.com/users/appsignal/gists{/gist_id}","starred_url":"https://api.github.com/users/appsignal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsignal/subscriptions","organizations_url":"https://api.github.com/users/appsignal/orgs","repos_url":"https://api.github.com/users/appsignal/repos","events_url":"https://api.github.com/users/appsignal/events{/privacy}","received_events_url":"https://api.github.com/users/appsignal/received_events","type":"Organization","site_admin":false},"repo":{"id":10100635,"name":"appsignal-ruby","full_name":"appsignal/appsignal-ruby","owner":{"login":"appsignal","id":3984134,"avatar_url":"https://avatars.githubusercontent.com/u/3984134?v=3","gravatar_id":"","url":"https://api.github.com/users/appsignal","html_url":"https://github.com/appsignal","followers_url":"https://api.github.com/users/appsignal/followers","following_url":"https://api.github.com/users/appsignal/following{/other_user}","gists_url":"https://api.github.com/users/appsignal/gists{/gist_id}","starred_url":"https://api.github.com/users/appsignal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsignal/subscriptions","organizations_url":"https://api.github.com/users/appsignal/orgs","repos_url":"https://api.github.com/users/appsignal/repos","events_url":"https://api.github.com/users/appsignal/events{/privacy}","received_events_url":"https://api.github.com/users/appsignal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appsignal/appsignal-ruby","description":"AppSignal agent for Ruby","fork":false,"url":"https://api.github.com/repos/appsignal/appsignal-ruby","forks_url":"https://api.github.com/repos/appsignal/appsignal-ruby/forks","keys_url":"https://api.github.com/repos/appsignal/appsignal-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appsignal/appsignal-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appsignal/appsignal-ruby/teams","hooks_url":"https://api.github.com/repos/appsignal/appsignal-ruby/hooks","issue_events_url":"https://api.github.com/repos/appsignal/appsignal-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/appsignal/appsignal-ruby/events","assignees_url":"https://api.github.com/repos/appsignal/appsignal-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/appsignal/appsignal-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/appsignal/appsignal-ruby/tags","blobs_url":"https://api.github.com/repos/appsignal/appsignal-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appsignal/appsignal-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appsignal/appsignal-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/appsignal/appsignal-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appsignal/appsignal-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/appsignal/appsignal-ruby/languages","stargazers_url":"https://api.github.com/repos/appsignal/appsignal-ruby/stargazers","contributors_url":"https://api.github.com/repos/appsignal/appsignal-ruby/contributors","subscribers_url":"https://api.github.com/repos/appsignal/appsignal-ruby/subscribers","subscription_url":"https://api.github.com/repos/appsignal/appsignal-ruby/subscription","commits_url":"https://api.github.com/repos/appsignal/appsignal-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/appsignal/appsignal-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/appsignal/appsignal-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/appsignal/appsignal-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/appsignal/appsignal-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/appsignal/appsignal-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appsignal/appsignal-ruby/merges","archive_url":"https://api.github.com/repos/appsignal/appsignal-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appsignal/appsignal-ruby/downloads","issues_url":"https://api.github.com/repos/appsignal/appsignal-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/appsignal/appsignal-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/appsignal/appsignal-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appsignal/appsignal-ruby/labels{/name}","releases_url":"https://api.github.com/repos/appsignal/appsignal-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/appsignal/appsignal-ruby/deployments","created_at":"2013-05-16T12:25:54Z","updated_at":"2016-08-18T07:02:59Z","pushed_at":"2016-09-29T12:47:13Z","git_url":"git://github.com/appsignal/appsignal-ruby.git","ssh_url":"git@github.com:appsignal/appsignal-ruby.git","clone_url":"https://github.com/appsignal/appsignal-ruby.git","svn_url":"https://github.com/appsignal/appsignal-ruby","homepage":"https://appsignal.com","size":2500,"stargazers_count":28,"watchers_count":28,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":11,"forks":43,"open_issues":11,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/175"},"html":{"href":"https://github.com/appsignal/appsignal-ruby/pull/175"},"issue":{"href":"https://api.github.com/repos/appsignal/appsignal-ruby/issues/175"},"comments":{"href":"https://api.github.com/repos/appsignal/appsignal-ruby/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appsignal/appsignal-ruby/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/appsignal/appsignal-ruby/statuses/ab7a2d12e4faf29535cef96a9740d0c669a3533e"}}}}
{"actor":{"display_login":"tombruijn"}}