{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/pulls/9","id":100211861,"html_url":"https://github.com/caplinked/caplinked-api-ruby/pull/9","diff_url":"https://github.com/caplinked/caplinked-api-ruby/pull/9.diff","patch_url":"https://github.com/caplinked/caplinked-api-ruby/pull/9.patch","issue_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/issues/9","number":9,"state":"open","locked":false,"title":"Handle array responses and use deep_symbolize_keys","user":{"login":"germainc","id":3717666,"avatar_url":"https://avatars.githubusercontent.com/u/3717666?v=3","gravatar_id":"","url":"https://api.github.com/users/germainc","html_url":"https://github.com/germainc","followers_url":"https://api.github.com/users/germainc/followers","following_url":"https://api.github.com/users/germainc/following{/other_user}","gists_url":"https://api.github.com/users/germainc/gists{/gist_id}","starred_url":"https://api.github.com/users/germainc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germainc/subscriptions","organizations_url":"https://api.github.com/users/germainc/orgs","repos_url":"https://api.github.com/users/germainc/repos","events_url":"https://api.github.com/users/germainc/events{/privacy}","received_events_url":"https://api.github.com/users/germainc/received_events","type":"User","site_admin":false},"body":"- Fix error in handling array responses from api (list_all_groups_in_workspace, get_folder_permissions, etc.)\r\n\r\n- Use _**deep_symbolize_keys**_ instead of _**symbolize_keys**_ so the keys will be consistent throughout\r\n**api_response[:workspace]['id']** becomes **api_response[:workspace][:id]**\r\n\r\n- Change error.rb to expect all keys as symbols","created_at":"2017-01-05T00:00:34Z","updated_at":"2017-01-05T00:00:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/pulls/9/commits","review_comments_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/pulls/9/comments","review_comment_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/issues/9/comments","statuses_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/statuses/098fe3e4462a458dc53c7fdbf895ec5ea7962a58","head":{"label":"germainc:patch-2","ref":"patch-2","sha":"098fe3e4462a458dc53c7fdbf895ec5ea7962a58","user":{"login":"germainc","id":3717666,"avatar_url":"https://avatars.githubusercontent.com/u/3717666?v=3","gravatar_id":"","url":"https://api.github.com/users/germainc","html_url":"https://github.com/germainc","followers_url":"https://api.github.com/users/germainc/followers","following_url":"https://api.github.com/users/germainc/following{/other_user}","gists_url":"https://api.github.com/users/germainc/gists{/gist_id}","starred_url":"https://api.github.com/users/germainc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germainc/subscriptions","organizations_url":"https://api.github.com/users/germainc/orgs","repos_url":"https://api.github.com/users/germainc/repos","events_url":"https://api.github.com/users/germainc/events{/privacy}","received_events_url":"https://api.github.com/users/germainc/received_events","type":"User","site_admin":false},"repo":{"id":78052457,"name":"caplinked-api-ruby","full_name":"germainc/caplinked-api-ruby","owner":{"login":"germainc","id":3717666,"avatar_url":"https://avatars.githubusercontent.com/u/3717666?v=3","gravatar_id":"","url":"https://api.github.com/users/germainc","html_url":"https://github.com/germainc","followers_url":"https://api.github.com/users/germainc/followers","following_url":"https://api.github.com/users/germainc/following{/other_user}","gists_url":"https://api.github.com/users/germainc/gists{/gist_id}","starred_url":"https://api.github.com/users/germainc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germainc/subscriptions","organizations_url":"https://api.github.com/users/germainc/orgs","repos_url":"https://api.github.com/users/germainc/repos","events_url":"https://api.github.com/users/germainc/events{/privacy}","received_events_url":"https://api.github.com/users/germainc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/germainc/caplinked-api-ruby","description":"Ruby SDK for Caplinked's API","fork":true,"url":"https://api.github.com/repos/germainc/caplinked-api-ruby","forks_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/forks","keys_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/teams","hooks_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/hooks","issue_events_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/events","assignees_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/tags","blobs_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/languages","stargazers_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/stargazers","contributors_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/contributors","subscribers_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/subscribers","subscription_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/subscription","commits_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/merges","archive_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/downloads","issues_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/labels{/name}","releases_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/germainc/caplinked-api-ruby/deployments","created_at":"2017-01-04T21:00:21Z","updated_at":"2017-01-04T21:00:24Z","pushed_at":"2017-01-04T23:44:33Z","git_url":"git://github.com/germainc/caplinked-api-ruby.git","ssh_url":"git@github.com:germainc/caplinked-api-ruby.git","clone_url":"https://github.com/germainc/caplinked-api-ruby.git","svn_url":"https://github.com/germainc/caplinked-api-ruby","homepage":"http://developer.caplinked.com/","size":559,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"caplinked:master","ref":"master","sha":"c4462ba13ba7efceb8a81c4223d616e8b1c53e47","user":{"login":"caplinked","id":634739,"avatar_url":"https://avatars.githubusercontent.com/u/634739?v=3","gravatar_id":"","url":"https://api.github.com/users/caplinked","html_url":"https://github.com/caplinked","followers_url":"https://api.github.com/users/caplinked/followers","following_url":"https://api.github.com/users/caplinked/following{/other_user}","gists_url":"https://api.github.com/users/caplinked/gists{/gist_id}","starred_url":"https://api.github.com/users/caplinked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caplinked/subscriptions","organizations_url":"https://api.github.com/users/caplinked/orgs","repos_url":"https://api.github.com/users/caplinked/repos","events_url":"https://api.github.com/users/caplinked/events{/privacy}","received_events_url":"https://api.github.com/users/caplinked/received_events","type":"Organization","site_admin":false},"repo":{"id":71816840,"name":"caplinked-api-ruby","full_name":"caplinked/caplinked-api-ruby","owner":{"login":"caplinked","id":634739,"avatar_url":"https://avatars.githubusercontent.com/u/634739?v=3","gravatar_id":"","url":"https://api.github.com/users/caplinked","html_url":"https://github.com/caplinked","followers_url":"https://api.github.com/users/caplinked/followers","following_url":"https://api.github.com/users/caplinked/following{/other_user}","gists_url":"https://api.github.com/users/caplinked/gists{/gist_id}","starred_url":"https://api.github.com/users/caplinked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caplinked/subscriptions","organizations_url":"https://api.github.com/users/caplinked/orgs","repos_url":"https://api.github.com/users/caplinked/repos","events_url":"https://api.github.com/users/caplinked/events{/privacy}","received_events_url":"https://api.github.com/users/caplinked/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caplinked/caplinked-api-ruby","description":"Ruby SDK for Caplinked's API","fork":false,"url":"https://api.github.com/repos/caplinked/caplinked-api-ruby","forks_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/forks","keys_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/teams","hooks_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/hooks","issue_events_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/events","assignees_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/tags","blobs_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/languages","stargazers_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/stargazers","contributors_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/contributors","subscribers_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/subscribers","subscription_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/subscription","commits_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/merges","archive_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/downloads","issues_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/labels{/name}","releases_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/caplinked/caplinked-api-ruby/deployments","created_at":"2016-10-24T18:04:06Z","updated_at":"2016-11-21T21:48:32Z","pushed_at":"2017-01-04T22:56:32Z","git_url":"git://github.com/caplinked/caplinked-api-ruby.git","ssh_url":"git@github.com:caplinked/caplinked-api-ruby.git","clone_url":"https://github.com/caplinked/caplinked-api-ruby.git","svn_url":"https://github.com/caplinked/caplinked-api-ruby","homepage":"http://developer.caplinked.com/","size":559,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/caplinked/caplinked-api-ruby/pulls/9"},"html":{"href":"https://github.com/caplinked/caplinked-api-ruby/pull/9"},"issue":{"href":"https://api.github.com/repos/caplinked/caplinked-api-ruby/issues/9"},"comments":{"href":"https://api.github.com/repos/caplinked/caplinked-api-ruby/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/caplinked/caplinked-api-ruby/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/caplinked/caplinked-api-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caplinked/caplinked-api-ruby/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/caplinked/caplinked-api-ruby/statuses/098fe3e4462a458dc53c7fdbf895ec5ea7962a58"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":13,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"germainc"}}