{"action":"opened","number":52,"pull_request":{"url":"https://api.github.com/repos/SparkPost/node-sparkpost/pulls/52","id":35969111,"html_url":"https://github.com/SparkPost/node-sparkpost/pull/52","diff_url":"https://github.com/SparkPost/node-sparkpost/pull/52.diff","patch_url":"https://github.com/SparkPost/node-sparkpost/pull/52.patch","issue_url":"https://api.github.com/repos/SparkPost/node-sparkpost/issues/52","number":52,"state":"open","locked":false,"title":"Issue 45","user":{"login":"bdeanindy","id":2376876,"avatar_url":"https://avatars.githubusercontent.com/u/2376876?v=3","gravatar_id":"","url":"https://api.github.com/users/bdeanindy","html_url":"https://github.com/bdeanindy","followers_url":"https://api.github.com/users/bdeanindy/followers","following_url":"https://api.github.com/users/bdeanindy/following{/other_user}","gists_url":"https://api.github.com/users/bdeanindy/gists{/gist_id}","starred_url":"https://api.github.com/users/bdeanindy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdeanindy/subscriptions","organizations_url":"https://api.github.com/users/bdeanindy/orgs","repos_url":"https://api.github.com/users/bdeanindy/repos","events_url":"https://api.github.com/users/bdeanindy/events{/privacy}","received_events_url":"https://api.github.com/users/bdeanindy/received_events","type":"User","site_admin":false},"body":"This should provide a way to convert camelCase to snake_case for payload objects, just need to flush out the remaining tests for some api calls and implement it...but it should be usable.\r\n\r\n@aydrian could you review, test this and let me know if it requires any changes.","created_at":"2015-05-21T19:34:16Z","updated_at":"2015-05-21T19:34:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SparkPost/node-sparkpost/pulls/52/commits","review_comments_url":"https://api.github.com/repos/SparkPost/node-sparkpost/pulls/52/comments","review_comment_url":"https://api.github.com/repos/SparkPost/node-sparkpost/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SparkPost/node-sparkpost/issues/52/comments","statuses_url":"https://api.github.com/repos/SparkPost/node-sparkpost/statuses/04b18006b6f4237da0606710e8f86bfe2565ce3b","head":{"label":"bdeanindy:Issue-45","ref":"Issue-45","sha":"04b18006b6f4237da0606710e8f86bfe2565ce3b","user":{"login":"bdeanindy","id":2376876,"avatar_url":"https://avatars.githubusercontent.com/u/2376876?v=3","gravatar_id":"","url":"https://api.github.com/users/bdeanindy","html_url":"https://github.com/bdeanindy","followers_url":"https://api.github.com/users/bdeanindy/followers","following_url":"https://api.github.com/users/bdeanindy/following{/other_user}","gists_url":"https://api.github.com/users/bdeanindy/gists{/gist_id}","starred_url":"https://api.github.com/users/bdeanindy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdeanindy/subscriptions","organizations_url":"https://api.github.com/users/bdeanindy/orgs","repos_url":"https://api.github.com/users/bdeanindy/repos","events_url":"https://api.github.com/users/bdeanindy/events{/privacy}","received_events_url":"https://api.github.com/users/bdeanindy/received_events","type":"User","site_admin":false},"repo":{"id":27092809,"name":"node-sparkpost","full_name":"bdeanindy/node-sparkpost","owner":{"login":"bdeanindy","id":2376876,"avatar_url":"https://avatars.githubusercontent.com/u/2376876?v=3","gravatar_id":"","url":"https://api.github.com/users/bdeanindy","html_url":"https://github.com/bdeanindy","followers_url":"https://api.github.com/users/bdeanindy/followers","following_url":"https://api.github.com/users/bdeanindy/following{/other_user}","gists_url":"https://api.github.com/users/bdeanindy/gists{/gist_id}","starred_url":"https://api.github.com/users/bdeanindy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdeanindy/subscriptions","organizations_url":"https://api.github.com/users/bdeanindy/orgs","repos_url":"https://api.github.com/users/bdeanindy/repos","events_url":"https://api.github.com/users/bdeanindy/events{/privacy}","received_events_url":"https://api.github.com/users/bdeanindy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bdeanindy/node-sparkpost","description":"","fork":true,"url":"https://api.github.com/repos/bdeanindy/node-sparkpost","forks_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/forks","keys_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/teams","hooks_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/hooks","issue_events_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/issues/events{/number}","events_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/events","assignees_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/assignees{/user}","branches_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/branches{/branch}","tags_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/tags","blobs_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/git/refs{/sha}","trees_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/statuses/{sha}","languages_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/languages","stargazers_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/stargazers","contributors_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/contributors","subscribers_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/subscribers","subscription_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/subscription","commits_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/commits{/sha}","git_commits_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/git/commits{/sha}","comments_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/comments{/number}","issue_comment_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/issues/comments{/number}","contents_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/contents/{+path}","compare_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/merges","archive_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/downloads","issues_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/issues{/number}","pulls_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/pulls{/number}","milestones_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/milestones{/number}","notifications_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/labels{/name}","releases_url":"https://api.github.com/repos/bdeanindy/node-sparkpost/releases{/id}","created_at":"2014-11-24T20:04:42Z","updated_at":"2015-02-04T02:18:37Z","pushed_at":"2015-05-21T19:32:56Z","git_url":"git://github.com/bdeanindy/node-sparkpost.git","ssh_url":"git@github.com:bdeanindy/node-sparkpost.git","clone_url":"https://github.com/bdeanindy/node-sparkpost.git","svn_url":"https://github.com/bdeanindy/node-sparkpost","homepage":null,"size":362,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"SparkPost:master","ref":"master","sha":"eb5804f17fbe74a39b7b5a3445a73a433ec23d7b","user":{"login":"SparkPost","id":9406778,"avatar_url":"https://avatars.githubusercontent.com/u/9406778?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkPost","html_url":"https://github.com/SparkPost","followers_url":"https://api.github.com/users/SparkPost/followers","following_url":"https://api.github.com/users/SparkPost/following{/other_user}","gists_url":"https://api.github.com/users/SparkPost/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkPost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkPost/subscriptions","organizations_url":"https://api.github.com/users/SparkPost/orgs","repos_url":"https://api.github.com/users/SparkPost/repos","events_url":"https://api.github.com/users/SparkPost/events{/privacy}","received_events_url":"https://api.github.com/users/SparkPost/received_events","type":"Organization","site_admin":false},"repo":{"id":24102765,"name":"node-sparkpost","full_name":"SparkPost/node-sparkpost","owner":{"login":"SparkPost","id":9406778,"avatar_url":"https://avatars.githubusercontent.com/u/9406778?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkPost","html_url":"https://github.com/SparkPost","followers_url":"https://api.github.com/users/SparkPost/followers","following_url":"https://api.github.com/users/SparkPost/following{/other_user}","gists_url":"https://api.github.com/users/SparkPost/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkPost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkPost/subscriptions","organizations_url":"https://api.github.com/users/SparkPost/orgs","repos_url":"https://api.github.com/users/SparkPost/repos","events_url":"https://api.github.com/users/SparkPost/events{/privacy}","received_events_url":"https://api.github.com/users/SparkPost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SparkPost/node-sparkpost","description":"","fork":false,"url":"https://api.github.com/repos/SparkPost/node-sparkpost","forks_url":"https://api.github.com/repos/SparkPost/node-sparkpost/forks","keys_url":"https://api.github.com/repos/SparkPost/node-sparkpost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SparkPost/node-sparkpost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SparkPost/node-sparkpost/teams","hooks_url":"https://api.github.com/repos/SparkPost/node-sparkpost/hooks","issue_events_url":"https://api.github.com/repos/SparkPost/node-sparkpost/issues/events{/number}","events_url":"https://api.github.com/repos/SparkPost/node-sparkpost/events","assignees_url":"https://api.github.com/repos/SparkPost/node-sparkpost/assignees{/user}","branches_url":"https://api.github.com/repos/SparkPost/node-sparkpost/branches{/branch}","tags_url":"https://api.github.com/repos/SparkPost/node-sparkpost/tags","blobs_url":"https://api.github.com/repos/SparkPost/node-sparkpost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SparkPost/node-sparkpost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SparkPost/node-sparkpost/git/refs{/sha}","trees_url":"https://api.github.com/repos/SparkPost/node-sparkpost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SparkPost/node-sparkpost/statuses/{sha}","languages_url":"https://api.github.com/repos/SparkPost/node-sparkpost/languages","stargazers_url":"https://api.github.com/repos/SparkPost/node-sparkpost/stargazers","contributors_url":"https://api.github.com/repos/SparkPost/node-sparkpost/contributors","subscribers_url":"https://api.github.com/repos/SparkPost/node-sparkpost/subscribers","subscription_url":"https://api.github.com/repos/SparkPost/node-sparkpost/subscription","commits_url":"https://api.github.com/repos/SparkPost/node-sparkpost/commits{/sha}","git_commits_url":"https://api.github.com/repos/SparkPost/node-sparkpost/git/commits{/sha}","comments_url":"https://api.github.com/repos/SparkPost/node-sparkpost/comments{/number}","issue_comment_url":"https://api.github.com/repos/SparkPost/node-sparkpost/issues/comments{/number}","contents_url":"https://api.github.com/repos/SparkPost/node-sparkpost/contents/{+path}","compare_url":"https://api.github.com/repos/SparkPost/node-sparkpost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SparkPost/node-sparkpost/merges","archive_url":"https://api.github.com/repos/SparkPost/node-sparkpost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SparkPost/node-sparkpost/downloads","issues_url":"https://api.github.com/repos/SparkPost/node-sparkpost/issues{/number}","pulls_url":"https://api.github.com/repos/SparkPost/node-sparkpost/pulls{/number}","milestones_url":"https://api.github.com/repos/SparkPost/node-sparkpost/milestones{/number}","notifications_url":"https://api.github.com/repos/SparkPost/node-sparkpost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SparkPost/node-sparkpost/labels{/name}","releases_url":"https://api.github.com/repos/SparkPost/node-sparkpost/releases{/id}","created_at":"2014-09-16T14:23:35Z","updated_at":"2015-05-18T21:26:55Z","pushed_at":"2015-05-21T19:34:16Z","git_url":"git://github.com/SparkPost/node-sparkpost.git","ssh_url":"git@github.com:SparkPost/node-sparkpost.git","clone_url":"https://github.com/SparkPost/node-sparkpost.git","svn_url":"https://github.com/SparkPost/node-sparkpost","homepage":null,"size":1060,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":8,"forks":5,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SparkPost/node-sparkpost/pulls/52"},"html":{"href":"https://github.com/SparkPost/node-sparkpost/pull/52"},"issue":{"href":"https://api.github.com/repos/SparkPost/node-sparkpost/issues/52"},"comments":{"href":"https://api.github.com/repos/SparkPost/node-sparkpost/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/SparkPost/node-sparkpost/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/SparkPost/node-sparkpost/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SparkPost/node-sparkpost/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/SparkPost/node-sparkpost/statuses/04b18006b6f4237da0606710e8f86bfe2565ce3b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":108,"deletions":1,"changed_files":5}}