{"action":"created","comment":{"url":"https://api.github.com/repos/beneggett/sportradar-api/pulls/comments/75046123","id":75046123,"diff_hunk":"@@ -19,7 +19,11 @@ def initialize(data)\n         @utc_offset = data[\"utc_offset\"]\n         @weather = data[\"weather\"]\n         @clock = data[\"clock\"]\n-        @quarter = data[\"quarter\"]\n+        if data[\"quarter\"]\n+          @quarter = data[\"quarter\"][0]\n+          quarter_data = data[\"quarter\"][1].is_a?(Hash) ? [ data[\"quarter\"][1] ] : data[\"quarter\"][1]\n+          @quarters = quarter_data&.map { |hash| Sportradar::Api::Nfl::Quarter.new(hash) }","path":"lib/sportradar/api/nfl/game.rb","position":17,"original_position":17,"commit_id":"eca8490f73f0b2b2cea95148869192671143b081","original_commit_id":"eca8490f73f0b2b2cea95148869192671143b081","user":{"login":"phoffer","id":1673179,"avatar_url":"https://avatars.githubusercontent.com/u/1673179?v=3","gravatar_id":"","url":"https://api.github.com/users/phoffer","html_url":"https://github.com/phoffer","followers_url":"https://api.github.com/users/phoffer/followers","following_url":"https://api.github.com/users/phoffer/following{/other_user}","gists_url":"https://api.github.com/users/phoffer/gists{/gist_id}","starred_url":"https://api.github.com/users/phoffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoffer/subscriptions","organizations_url":"https://api.github.com/users/phoffer/orgs","repos_url":"https://api.github.com/users/phoffer/repos","events_url":"https://api.github.com/users/phoffer/events{/privacy}","received_events_url":"https://api.github.com/users/phoffer/received_events","type":"User","site_admin":false},"body":"The current logic is working properly for me, if you see something different, please share it here.","created_at":"2016-08-17T00:36:51Z","updated_at":"2016-08-17T00:36:52Z","html_url":"https://github.com/beneggett/sportradar-api/pull/8#discussion_r75046123","pull_request_url":"https://api.github.com/repos/beneggett/sportradar-api/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/beneggett/sportradar-api/pulls/comments/75046123"},"html":{"href":"https://github.com/beneggett/sportradar-api/pull/8#discussion_r75046123"},"pull_request":{"href":"https://api.github.com/repos/beneggett/sportradar-api/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/beneggett/sportradar-api/pulls/8","id":81482223,"html_url":"https://github.com/beneggett/sportradar-api/pull/8","diff_url":"https://github.com/beneggett/sportradar-api/pull/8.diff","patch_url":"https://github.com/beneggett/sportradar-api/pull/8.patch","issue_url":"https://api.github.com/repos/beneggett/sportradar-api/issues/8","number":8,"state":"open","locked":false,"title":"major nfl play-by-play updates","user":{"login":"phoffer","id":1673179,"avatar_url":"https://avatars.githubusercontent.com/u/1673179?v=3","gravatar_id":"","url":"https://api.github.com/users/phoffer","html_url":"https://github.com/phoffer","followers_url":"https://api.github.com/users/phoffer/followers","following_url":"https://api.github.com/users/phoffer/following{/other_user}","gists_url":"https://api.github.com/users/phoffer/gists{/gist_id}","starred_url":"https://api.github.com/users/phoffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoffer/subscriptions","organizations_url":"https://api.github.com/users/phoffer/orgs","repos_url":"https://api.github.com/users/phoffer/repos","events_url":"https://api.github.com/users/phoffer/events{/privacy}","received_events_url":"https://api.github.com/users/phoffer/received_events","type":"User","site_admin":false},"body":"probably some cleanup to do, but wanted to get this out for review","created_at":"2016-08-16T14:33:26Z","updated_at":"2016-08-17T00:36:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92b9079b109bc33a3001051a3784d6c7c761e9b8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/beneggett/sportradar-api/pulls/8/commits","review_comments_url":"https://api.github.com/repos/beneggett/sportradar-api/pulls/8/comments","review_comment_url":"https://api.github.com/repos/beneggett/sportradar-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/beneggett/sportradar-api/issues/8/comments","statuses_url":"https://api.github.com/repos/beneggett/sportradar-api/statuses/eca8490f73f0b2b2cea95148869192671143b081","head":{"label":"beneggett:pbp","ref":"pbp","sha":"eca8490f73f0b2b2cea95148869192671143b081","user":{"login":"beneggett","id":347537,"avatar_url":"https://avatars.githubusercontent.com/u/347537?v=3","gravatar_id":"","url":"https://api.github.com/users/beneggett","html_url":"https://github.com/beneggett","followers_url":"https://api.github.com/users/beneggett/followers","following_url":"https://api.github.com/users/beneggett/following{/other_user}","gists_url":"https://api.github.com/users/beneggett/gists{/gist_id}","starred_url":"https://api.github.com/users/beneggett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beneggett/subscriptions","organizations_url":"https://api.github.com/users/beneggett/orgs","repos_url":"https://api.github.com/users/beneggett/repos","events_url":"https://api.github.com/users/beneggett/events{/privacy}","received_events_url":"https://api.github.com/users/beneggett/received_events","type":"User","site_admin":false},"repo":{"id":63277562,"name":"sportradar-api","full_name":"beneggett/sportradar-api","owner":{"login":"beneggett","id":347537,"avatar_url":"https://avatars.githubusercontent.com/u/347537?v=3","gravatar_id":"","url":"https://api.github.com/users/beneggett","html_url":"https://github.com/beneggett","followers_url":"https://api.github.com/users/beneggett/followers","following_url":"https://api.github.com/users/beneggett/following{/other_user}","gists_url":"https://api.github.com/users/beneggett/gists{/gist_id}","starred_url":"https://api.github.com/users/beneggett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beneggett/subscriptions","organizations_url":"https://api.github.com/users/beneggett/orgs","repos_url":"https://api.github.com/users/beneggett/repos","events_url":"https://api.github.com/users/beneggett/events{/privacy}","received_events_url":"https://api.github.com/users/beneggett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/beneggett/sportradar-api","description":null,"fork":false,"url":"https://api.github.com/repos/beneggett/sportradar-api","forks_url":"https://api.github.com/repos/beneggett/sportradar-api/forks","keys_url":"https://api.github.com/repos/beneggett/sportradar-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/beneggett/sportradar-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/beneggett/sportradar-api/teams","hooks_url":"https://api.github.com/repos/beneggett/sportradar-api/hooks","issue_events_url":"https://api.github.com/repos/beneggett/sportradar-api/issues/events{/number}","events_url":"https://api.github.com/repos/beneggett/sportradar-api/events","assignees_url":"https://api.github.com/repos/beneggett/sportradar-api/assignees{/user}","branches_url":"https://api.github.com/repos/beneggett/sportradar-api/branches{/branch}","tags_url":"https://api.github.com/repos/beneggett/sportradar-api/tags","blobs_url":"https://api.github.com/repos/beneggett/sportradar-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/beneggett/sportradar-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/beneggett/sportradar-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/beneggett/sportradar-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/beneggett/sportradar-api/statuses/{sha}","languages_url":"https://api.github.com/repos/beneggett/sportradar-api/languages","stargazers_url":"https://api.github.com/repos/beneggett/sportradar-api/stargazers","contributors_url":"https://api.github.com/repos/beneggett/sportradar-api/contributors","subscribers_url":"https://api.github.com/repos/beneggett/sportradar-api/subscribers","subscription_url":"https://api.github.com/repos/beneggett/sportradar-api/subscription","commits_url":"https://api.github.com/repos/beneggett/sportradar-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/beneggett/sportradar-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/beneggett/sportradar-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/beneggett/sportradar-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/beneggett/sportradar-api/contents/{+path}","compare_url":"https://api.github.com/repos/beneggett/sportradar-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/beneggett/sportradar-api/merges","archive_url":"https://api.github.com/repos/beneggett/sportradar-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/beneggett/sportradar-api/downloads","issues_url":"https://api.github.com/repos/beneggett/sportradar-api/issues{/number}","pulls_url":"https://api.github.com/repos/beneggett/sportradar-api/pulls{/number}","milestones_url":"https://api.github.com/repos/beneggett/sportradar-api/milestones{/number}","notifications_url":"https://api.github.com/repos/beneggett/sportradar-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/beneggett/sportradar-api/labels{/name}","releases_url":"https://api.github.com/repos/beneggett/sportradar-api/releases{/id}","deployments_url":"https://api.github.com/repos/beneggett/sportradar-api/deployments","created_at":"2016-07-13T20:33:37Z","updated_at":"2016-07-19T04:43:30Z","pushed_at":"2016-08-16T14:33:26Z","git_url":"git://github.com/beneggett/sportradar-api.git","ssh_url":"git@github.com:beneggett/sportradar-api.git","clone_url":"https://github.com/beneggett/sportradar-api.git","svn_url":"https://github.com/beneggett/sportradar-api","homepage":null,"size":86,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"beneggett:master","ref":"master","sha":"5a5ae49c6a450049c8e7ba5973ff93d6e218b6e3","user":{"login":"beneggett","id":347537,"avatar_url":"https://avatars.githubusercontent.com/u/347537?v=3","gravatar_id":"","url":"https://api.github.com/users/beneggett","html_url":"https://github.com/beneggett","followers_url":"https://api.github.com/users/beneggett/followers","following_url":"https://api.github.com/users/beneggett/following{/other_user}","gists_url":"https://api.github.com/users/beneggett/gists{/gist_id}","starred_url":"https://api.github.com/users/beneggett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beneggett/subscriptions","organizations_url":"https://api.github.com/users/beneggett/orgs","repos_url":"https://api.github.com/users/beneggett/repos","events_url":"https://api.github.com/users/beneggett/events{/privacy}","received_events_url":"https://api.github.com/users/beneggett/received_events","type":"User","site_admin":false},"repo":{"id":63277562,"name":"sportradar-api","full_name":"beneggett/sportradar-api","owner":{"login":"beneggett","id":347537,"avatar_url":"https://avatars.githubusercontent.com/u/347537?v=3","gravatar_id":"","url":"https://api.github.com/users/beneggett","html_url":"https://github.com/beneggett","followers_url":"https://api.github.com/users/beneggett/followers","following_url":"https://api.github.com/users/beneggett/following{/other_user}","gists_url":"https://api.github.com/users/beneggett/gists{/gist_id}","starred_url":"https://api.github.com/users/beneggett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beneggett/subscriptions","organizations_url":"https://api.github.com/users/beneggett/orgs","repos_url":"https://api.github.com/users/beneggett/repos","events_url":"https://api.github.com/users/beneggett/events{/privacy}","received_events_url":"https://api.github.com/users/beneggett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/beneggett/sportradar-api","description":null,"fork":false,"url":"https://api.github.com/repos/beneggett/sportradar-api","forks_url":"https://api.github.com/repos/beneggett/sportradar-api/forks","keys_url":"https://api.github.com/repos/beneggett/sportradar-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/beneggett/sportradar-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/beneggett/sportradar-api/teams","hooks_url":"https://api.github.com/repos/beneggett/sportradar-api/hooks","issue_events_url":"https://api.github.com/repos/beneggett/sportradar-api/issues/events{/number}","events_url":"https://api.github.com/repos/beneggett/sportradar-api/events","assignees_url":"https://api.github.com/repos/beneggett/sportradar-api/assignees{/user}","branches_url":"https://api.github.com/repos/beneggett/sportradar-api/branches{/branch}","tags_url":"https://api.github.com/repos/beneggett/sportradar-api/tags","blobs_url":"https://api.github.com/repos/beneggett/sportradar-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/beneggett/sportradar-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/beneggett/sportradar-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/beneggett/sportradar-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/beneggett/sportradar-api/statuses/{sha}","languages_url":"https://api.github.com/repos/beneggett/sportradar-api/languages","stargazers_url":"https://api.github.com/repos/beneggett/sportradar-api/stargazers","contributors_url":"https://api.github.com/repos/beneggett/sportradar-api/contributors","subscribers_url":"https://api.github.com/repos/beneggett/sportradar-api/subscribers","subscription_url":"https://api.github.com/repos/beneggett/sportradar-api/subscription","commits_url":"https://api.github.com/repos/beneggett/sportradar-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/beneggett/sportradar-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/beneggett/sportradar-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/beneggett/sportradar-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/beneggett/sportradar-api/contents/{+path}","compare_url":"https://api.github.com/repos/beneggett/sportradar-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/beneggett/sportradar-api/merges","archive_url":"https://api.github.com/repos/beneggett/sportradar-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/beneggett/sportradar-api/downloads","issues_url":"https://api.github.com/repos/beneggett/sportradar-api/issues{/number}","pulls_url":"https://api.github.com/repos/beneggett/sportradar-api/pulls{/number}","milestones_url":"https://api.github.com/repos/beneggett/sportradar-api/milestones{/number}","notifications_url":"https://api.github.com/repos/beneggett/sportradar-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/beneggett/sportradar-api/labels{/name}","releases_url":"https://api.github.com/repos/beneggett/sportradar-api/releases{/id}","deployments_url":"https://api.github.com/repos/beneggett/sportradar-api/deployments","created_at":"2016-07-13T20:33:37Z","updated_at":"2016-07-19T04:43:30Z","pushed_at":"2016-08-16T14:33:26Z","git_url":"git://github.com/beneggett/sportradar-api.git","ssh_url":"git@github.com:beneggett/sportradar-api.git","clone_url":"https://github.com/beneggett/sportradar-api.git","svn_url":"https://github.com/beneggett/sportradar-api","homepage":null,"size":86,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/beneggett/sportradar-api/pulls/8"},"html":{"href":"https://github.com/beneggett/sportradar-api/pull/8"},"issue":{"href":"https://api.github.com/repos/beneggett/sportradar-api/issues/8"},"comments":{"href":"https://api.github.com/repos/beneggett/sportradar-api/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/beneggett/sportradar-api/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/beneggett/sportradar-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/beneggett/sportradar-api/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/beneggett/sportradar-api/statuses/eca8490f73f0b2b2cea95148869192671143b081"}}}}
{"actor":{"display_login":"phoffer"}}