{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/scoop/autotask_api/pulls/10","id":57496615,"html_url":"https://github.com/scoop/autotask_api/pull/10","diff_url":"https://github.com/scoop/autotask_api/pull/10.diff","patch_url":"https://github.com/scoop/autotask_api/pull/10.patch","issue_url":"https://api.github.com/repos/scoop/autotask_api/issues/10","number":10,"state":"open","locked":false,"title":"Some modifications from a Ruby rookie","user":{"login":"kbni","id":839300,"avatar_url":"https://avatars.githubusercontent.com/u/839300?v=3","gravatar_id":"","url":"https://api.github.com/users/kbni","html_url":"https://github.com/kbni","followers_url":"https://api.github.com/users/kbni/followers","following_url":"https://api.github.com/users/kbni/following{/other_user}","gists_url":"https://api.github.com/users/kbni/gists{/gist_id}","starred_url":"https://api.github.com/users/kbni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbni/subscriptions","organizations_url":"https://api.github.com/users/kbni/orgs","repos_url":"https://api.github.com/users/kbni/repos","events_url":"https://api.github.com/users/kbni/events{/privacy}","received_events_url":"https://api.github.com/users/kbni/received_events","type":"User","site_admin":false},"body":"I've made some modifications that I think are useful.\r\n\r\n- New Entities - Project and Task\r\n- Picklist helper (load the picklist + reference in queries)\r\n- Query builder (sorry; not using Nokogiri) but generates complex queries nicely\r\n- Selecting Entity fields that are not in Entity.attributes with Entity#[]\r\n\r\nThis is the first thing I have done in Ruby, so be gentle.","created_at":"2016-01-28T12:41:47Z","updated_at":"2016-01-28T12:41:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scoop/autotask_api/pulls/10/commits","review_comments_url":"https://api.github.com/repos/scoop/autotask_api/pulls/10/comments","review_comment_url":"https://api.github.com/repos/scoop/autotask_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scoop/autotask_api/issues/10/comments","statuses_url":"https://api.github.com/repos/scoop/autotask_api/statuses/69d2974e2779a78ba4ee4033882abe856e7a9dcb","head":{"label":"kbni:master","ref":"master","sha":"69d2974e2779a78ba4ee4033882abe856e7a9dcb","user":{"login":"kbni","id":839300,"avatar_url":"https://avatars.githubusercontent.com/u/839300?v=3","gravatar_id":"","url":"https://api.github.com/users/kbni","html_url":"https://github.com/kbni","followers_url":"https://api.github.com/users/kbni/followers","following_url":"https://api.github.com/users/kbni/following{/other_user}","gists_url":"https://api.github.com/users/kbni/gists{/gist_id}","starred_url":"https://api.github.com/users/kbni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbni/subscriptions","organizations_url":"https://api.github.com/users/kbni/orgs","repos_url":"https://api.github.com/users/kbni/repos","events_url":"https://api.github.com/users/kbni/events{/privacy}","received_events_url":"https://api.github.com/users/kbni/received_events","type":"User","site_admin":false},"repo":{"id":50388780,"name":"autotask_api","full_name":"kbni/autotask_api","owner":{"login":"kbni","id":839300,"avatar_url":"https://avatars.githubusercontent.com/u/839300?v=3","gravatar_id":"","url":"https://api.github.com/users/kbni","html_url":"https://github.com/kbni","followers_url":"https://api.github.com/users/kbni/followers","following_url":"https://api.github.com/users/kbni/following{/other_user}","gists_url":"https://api.github.com/users/kbni/gists{/gist_id}","starred_url":"https://api.github.com/users/kbni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbni/subscriptions","organizations_url":"https://api.github.com/users/kbni/orgs","repos_url":"https://api.github.com/users/kbni/repos","events_url":"https://api.github.com/users/kbni/events{/privacy}","received_events_url":"https://api.github.com/users/kbni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kbni/autotask_api","description":"Ruby API wrapper for the Autotask WebService API","fork":true,"url":"https://api.github.com/repos/kbni/autotask_api","forks_url":"https://api.github.com/repos/kbni/autotask_api/forks","keys_url":"https://api.github.com/repos/kbni/autotask_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kbni/autotask_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kbni/autotask_api/teams","hooks_url":"https://api.github.com/repos/kbni/autotask_api/hooks","issue_events_url":"https://api.github.com/repos/kbni/autotask_api/issues/events{/number}","events_url":"https://api.github.com/repos/kbni/autotask_api/events","assignees_url":"https://api.github.com/repos/kbni/autotask_api/assignees{/user}","branches_url":"https://api.github.com/repos/kbni/autotask_api/branches{/branch}","tags_url":"https://api.github.com/repos/kbni/autotask_api/tags","blobs_url":"https://api.github.com/repos/kbni/autotask_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kbni/autotask_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kbni/autotask_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/kbni/autotask_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kbni/autotask_api/statuses/{sha}","languages_url":"https://api.github.com/repos/kbni/autotask_api/languages","stargazers_url":"https://api.github.com/repos/kbni/autotask_api/stargazers","contributors_url":"https://api.github.com/repos/kbni/autotask_api/contributors","subscribers_url":"https://api.github.com/repos/kbni/autotask_api/subscribers","subscription_url":"https://api.github.com/repos/kbni/autotask_api/subscription","commits_url":"https://api.github.com/repos/kbni/autotask_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/kbni/autotask_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/kbni/autotask_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/kbni/autotask_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/kbni/autotask_api/contents/{+path}","compare_url":"https://api.github.com/repos/kbni/autotask_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kbni/autotask_api/merges","archive_url":"https://api.github.com/repos/kbni/autotask_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kbni/autotask_api/downloads","issues_url":"https://api.github.com/repos/kbni/autotask_api/issues{/number}","pulls_url":"https://api.github.com/repos/kbni/autotask_api/pulls{/number}","milestones_url":"https://api.github.com/repos/kbni/autotask_api/milestones{/number}","notifications_url":"https://api.github.com/repos/kbni/autotask_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kbni/autotask_api/labels{/name}","releases_url":"https://api.github.com/repos/kbni/autotask_api/releases{/id}","deployments_url":"https://api.github.com/repos/kbni/autotask_api/deployments","created_at":"2016-01-25T23:34:17Z","updated_at":"2016-01-25T23:34:18Z","pushed_at":"2016-01-28T12:35:01Z","git_url":"git://github.com/kbni/autotask_api.git","ssh_url":"git@github.com:kbni/autotask_api.git","clone_url":"https://github.com/kbni/autotask_api.git","svn_url":"https://github.com/kbni/autotask_api","homepage":"","size":30,"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":"scoop:master","ref":"master","sha":"4996ebf308b785e90db8ca7b6d15051dde320232","user":{"login":"scoop","id":502,"avatar_url":"https://avatars.githubusercontent.com/u/502?v=3","gravatar_id":"","url":"https://api.github.com/users/scoop","html_url":"https://github.com/scoop","followers_url":"https://api.github.com/users/scoop/followers","following_url":"https://api.github.com/users/scoop/following{/other_user}","gists_url":"https://api.github.com/users/scoop/gists{/gist_id}","starred_url":"https://api.github.com/users/scoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scoop/subscriptions","organizations_url":"https://api.github.com/users/scoop/orgs","repos_url":"https://api.github.com/users/scoop/repos","events_url":"https://api.github.com/users/scoop/events{/privacy}","received_events_url":"https://api.github.com/users/scoop/received_events","type":"User","site_admin":false},"repo":{"id":11240292,"name":"autotask_api","full_name":"scoop/autotask_api","owner":{"login":"scoop","id":502,"avatar_url":"https://avatars.githubusercontent.com/u/502?v=3","gravatar_id":"","url":"https://api.github.com/users/scoop","html_url":"https://github.com/scoop","followers_url":"https://api.github.com/users/scoop/followers","following_url":"https://api.github.com/users/scoop/following{/other_user}","gists_url":"https://api.github.com/users/scoop/gists{/gist_id}","starred_url":"https://api.github.com/users/scoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scoop/subscriptions","organizations_url":"https://api.github.com/users/scoop/orgs","repos_url":"https://api.github.com/users/scoop/repos","events_url":"https://api.github.com/users/scoop/events{/privacy}","received_events_url":"https://api.github.com/users/scoop/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scoop/autotask_api","description":"Ruby API wrapper for the Autotask WebService API","fork":false,"url":"https://api.github.com/repos/scoop/autotask_api","forks_url":"https://api.github.com/repos/scoop/autotask_api/forks","keys_url":"https://api.github.com/repos/scoop/autotask_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scoop/autotask_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scoop/autotask_api/teams","hooks_url":"https://api.github.com/repos/scoop/autotask_api/hooks","issue_events_url":"https://api.github.com/repos/scoop/autotask_api/issues/events{/number}","events_url":"https://api.github.com/repos/scoop/autotask_api/events","assignees_url":"https://api.github.com/repos/scoop/autotask_api/assignees{/user}","branches_url":"https://api.github.com/repos/scoop/autotask_api/branches{/branch}","tags_url":"https://api.github.com/repos/scoop/autotask_api/tags","blobs_url":"https://api.github.com/repos/scoop/autotask_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scoop/autotask_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scoop/autotask_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/scoop/autotask_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scoop/autotask_api/statuses/{sha}","languages_url":"https://api.github.com/repos/scoop/autotask_api/languages","stargazers_url":"https://api.github.com/repos/scoop/autotask_api/stargazers","contributors_url":"https://api.github.com/repos/scoop/autotask_api/contributors","subscribers_url":"https://api.github.com/repos/scoop/autotask_api/subscribers","subscription_url":"https://api.github.com/repos/scoop/autotask_api/subscription","commits_url":"https://api.github.com/repos/scoop/autotask_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/scoop/autotask_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/scoop/autotask_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/scoop/autotask_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/scoop/autotask_api/contents/{+path}","compare_url":"https://api.github.com/repos/scoop/autotask_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scoop/autotask_api/merges","archive_url":"https://api.github.com/repos/scoop/autotask_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scoop/autotask_api/downloads","issues_url":"https://api.github.com/repos/scoop/autotask_api/issues{/number}","pulls_url":"https://api.github.com/repos/scoop/autotask_api/pulls{/number}","milestones_url":"https://api.github.com/repos/scoop/autotask_api/milestones{/number}","notifications_url":"https://api.github.com/repos/scoop/autotask_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scoop/autotask_api/labels{/name}","releases_url":"https://api.github.com/repos/scoop/autotask_api/releases{/id}","deployments_url":"https://api.github.com/repos/scoop/autotask_api/deployments","created_at":"2013-07-07T21:14:48Z","updated_at":"2016-01-25T20:35:45Z","pushed_at":"2015-12-24T12:14:07Z","git_url":"git://github.com/scoop/autotask_api.git","ssh_url":"git@github.com:scoop/autotask_api.git","clone_url":"https://github.com/scoop/autotask_api.git","svn_url":"https://github.com/scoop/autotask_api","homepage":"","size":34,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scoop/autotask_api/pulls/10"},"html":{"href":"https://github.com/scoop/autotask_api/pull/10"},"issue":{"href":"https://api.github.com/repos/scoop/autotask_api/issues/10"},"comments":{"href":"https://api.github.com/repos/scoop/autotask_api/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/scoop/autotask_api/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/scoop/autotask_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scoop/autotask_api/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/scoop/autotask_api/statuses/69d2974e2779a78ba4ee4033882abe856e7a9dcb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":395,"deletions":3,"changed_files":7}}