{"action":"created","comment":{"url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/comments/32160488","id":32160488,"diff_hunk":"@@ -121,31 +135,45 @@ describe 'Outbound', ->\n           'Content-Type': 'application/json'\n         body: \"\"\"\n          {\n-         \"gender\": \"Female\",\n-         \"age\": \"25-34\",\n-         \"education\":\"Completed Graduate School\",\n-         \"occupation\":\"Professional\",\n-         \"children\":\"No\",\n-         \"household_income\":\"75k-100k\",\n-         \"home_market_value\":\"200k-250k\",\n-         \"length_of_residence\":\"2 years\",\n-         \"marital_status\":\"Single\",\n-         \"home_owner_status\":\"Rent\"\n-         }\n+          \"household_income\": \"75k-100k\",\n+          \"eam\": {\n+            \"velocity\": 10,\n+            \"date_first_seen\": \"2011-12-07\",\n+            \"longevity\": 3,\n+            \"popularity\": 9\n+            },\n+          \"home_owner_status\": \"Own\",\n+          \"interests\": {\n+            \"charitable_donors\": true,\n+            \"sports\": true\n+            },\n+          \"age\": \"25-34\",\n+          \"home_market_value\": \"150k-200k\",\n+          \"gender\": \"Male\",\n+          \"presence_of_children\": \"No\",","path":"spec/outbound-spec.coffee","position":66,"original_position":66,"commit_id":"5bb6c073cb8da5c4f593d52244659097582a6174","original_commit_id":"5bb6c073cb8da5c4f593d52244659097582a6174","user":{"login":"cgrayson","id":5596,"avatar_url":"https://avatars.githubusercontent.com/u/5596?v=3","gravatar_id":"","url":"https://api.github.com/users/cgrayson","html_url":"https://github.com/cgrayson","followers_url":"https://api.github.com/users/cgrayson/followers","following_url":"https://api.github.com/users/cgrayson/following{/other_user}","gists_url":"https://api.github.com/users/cgrayson/gists{/gist_id}","starred_url":"https://api.github.com/users/cgrayson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgrayson/subscriptions","organizations_url":"https://api.github.com/users/cgrayson/orgs","repos_url":"https://api.github.com/users/cgrayson/repos","events_url":"https://api.github.com/users/cgrayson/events{/privacy}","received_events_url":"https://api.github.com/users/cgrayson/received_events","type":"User","site_admin":false},"body":"`presence_of_children` vs `children`, that came from testing, or…?","created_at":"2015-06-10T20:09:08Z","updated_at":"2015-06-10T20:09:08Z","html_url":"https://github.com/activeprospect/leadconduit-integration-towerdata/pull/16#discussion_r32160488","pull_request_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/comments/32160488"},"html":{"href":"https://github.com/activeprospect/leadconduit-integration-towerdata/pull/16#discussion_r32160488"},"pull_request":{"href":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/16","id":37211319,"html_url":"https://github.com/activeprospect/leadconduit-integration-towerdata/pull/16","diff_url":"https://github.com/activeprospect/leadconduit-integration-towerdata/pull/16.diff","patch_url":"https://github.com/activeprospect/leadconduit-integration-towerdata/pull/16.patch","issue_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/issues/16","number":16,"state":"open","locked":false,"title":"Fix #10, #11 and #14","user":{"login":"zalary","id":338654,"avatar_url":"https://avatars.githubusercontent.com/u/338654?v=3","gravatar_id":"","url":"https://api.github.com/users/zalary","html_url":"https://github.com/zalary","followers_url":"https://api.github.com/users/zalary/followers","following_url":"https://api.github.com/users/zalary/following{/other_user}","gists_url":"https://api.github.com/users/zalary/gists{/gist_id}","starred_url":"https://api.github.com/users/zalary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalary/subscriptions","organizations_url":"https://api.github.com/users/zalary/orgs","repos_url":"https://api.github.com/users/zalary/repos","events_url":"https://api.github.com/users/zalary/events{/privacy}","received_events_url":"https://api.github.com/users/zalary/received_events","type":"User","site_admin":false},"body":"integration only returns explicitly requested fields - all the integration 'query_' fields are required (can't be deleted and must be designated before the integration will save).\r\nintegration properly counts billable items\r\nintegrations allows for [eam/email](http://intelligence.towerdata.com/eam#fields) data to be requested \r\n\r\nthis integration will correctly handle the return of 'interests' fields but does not yet handle requesting those fields (as they are rarely returned and may presents the user with too many choices).\r\n\r\nDeployment of this integration should be considered a breaking change, as the existing flows using this will need to be edited to specifically map the query values they want returned.","created_at":"2015-06-09T01:08:45Z","updated_at":"2015-06-10T20:09:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6ed502f053a4bd8e5601d358b09c12d11e63a63","assignee":{"login":"cgrayson","id":5596,"avatar_url":"https://avatars.githubusercontent.com/u/5596?v=3","gravatar_id":"","url":"https://api.github.com/users/cgrayson","html_url":"https://github.com/cgrayson","followers_url":"https://api.github.com/users/cgrayson/followers","following_url":"https://api.github.com/users/cgrayson/following{/other_user}","gists_url":"https://api.github.com/users/cgrayson/gists{/gist_id}","starred_url":"https://api.github.com/users/cgrayson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgrayson/subscriptions","organizations_url":"https://api.github.com/users/cgrayson/orgs","repos_url":"https://api.github.com/users/cgrayson/repos","events_url":"https://api.github.com/users/cgrayson/events{/privacy}","received_events_url":"https://api.github.com/users/cgrayson/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/16/commits","review_comments_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/16/comments","review_comment_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/issues/16/comments","statuses_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/statuses/5bb6c073cb8da5c4f593d52244659097582a6174","head":{"label":"activeprospect:bettervalidation","ref":"bettervalidation","sha":"5bb6c073cb8da5c4f593d52244659097582a6174","user":{"login":"activeprospect","id":245554,"avatar_url":"https://avatars.githubusercontent.com/u/245554?v=3","gravatar_id":"","url":"https://api.github.com/users/activeprospect","html_url":"https://github.com/activeprospect","followers_url":"https://api.github.com/users/activeprospect/followers","following_url":"https://api.github.com/users/activeprospect/following{/other_user}","gists_url":"https://api.github.com/users/activeprospect/gists{/gist_id}","starred_url":"https://api.github.com/users/activeprospect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeprospect/subscriptions","organizations_url":"https://api.github.com/users/activeprospect/orgs","repos_url":"https://api.github.com/users/activeprospect/repos","events_url":"https://api.github.com/users/activeprospect/events{/privacy}","received_events_url":"https://api.github.com/users/activeprospect/received_events","type":"Organization","site_admin":false},"repo":{"id":29369415,"name":"leadconduit-integration-towerdata","full_name":"activeprospect/leadconduit-integration-towerdata","owner":{"login":"activeprospect","id":245554,"avatar_url":"https://avatars.githubusercontent.com/u/245554?v=3","gravatar_id":"","url":"https://api.github.com/users/activeprospect","html_url":"https://github.com/activeprospect","followers_url":"https://api.github.com/users/activeprospect/followers","following_url":"https://api.github.com/users/activeprospect/following{/other_user}","gists_url":"https://api.github.com/users/activeprospect/gists{/gist_id}","starred_url":"https://api.github.com/users/activeprospect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeprospect/subscriptions","organizations_url":"https://api.github.com/users/activeprospect/orgs","repos_url":"https://api.github.com/users/activeprospect/repos","events_url":"https://api.github.com/users/activeprospect/events{/privacy}","received_events_url":"https://api.github.com/users/activeprospect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activeprospect/leadconduit-integration-towerdata","description":"","fork":false,"url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata","forks_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/forks","keys_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/teams","hooks_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/hooks","issue_events_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/issues/events{/number}","events_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/events","assignees_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/assignees{/user}","branches_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/branches{/branch}","tags_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/tags","blobs_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/statuses/{sha}","languages_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/languages","stargazers_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/stargazers","contributors_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/contributors","subscribers_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/subscribers","subscription_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/subscription","commits_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/contents/{+path}","compare_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/merges","archive_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/downloads","issues_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/issues{/number}","pulls_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls{/number}","milestones_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/milestones{/number}","notifications_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/labels{/name}","releases_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/releases{/id}","created_at":"2015-01-16T21:51:20Z","updated_at":"2015-02-27T18:23:24Z","pushed_at":"2015-06-09T01:08:45Z","git_url":"git://github.com/activeprospect/leadconduit-integration-towerdata.git","ssh_url":"git@github.com:activeprospect/leadconduit-integration-towerdata.git","clone_url":"https://github.com/activeprospect/leadconduit-integration-towerdata.git","svn_url":"https://github.com/activeprospect/leadconduit-integration-towerdata","homepage":null,"size":352,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"activeprospect:master","ref":"master","sha":"687ca86c1169e37776d3b22c7729ed872e922a9d","user":{"login":"activeprospect","id":245554,"avatar_url":"https://avatars.githubusercontent.com/u/245554?v=3","gravatar_id":"","url":"https://api.github.com/users/activeprospect","html_url":"https://github.com/activeprospect","followers_url":"https://api.github.com/users/activeprospect/followers","following_url":"https://api.github.com/users/activeprospect/following{/other_user}","gists_url":"https://api.github.com/users/activeprospect/gists{/gist_id}","starred_url":"https://api.github.com/users/activeprospect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeprospect/subscriptions","organizations_url":"https://api.github.com/users/activeprospect/orgs","repos_url":"https://api.github.com/users/activeprospect/repos","events_url":"https://api.github.com/users/activeprospect/events{/privacy}","received_events_url":"https://api.github.com/users/activeprospect/received_events","type":"Organization","site_admin":false},"repo":{"id":29369415,"name":"leadconduit-integration-towerdata","full_name":"activeprospect/leadconduit-integration-towerdata","owner":{"login":"activeprospect","id":245554,"avatar_url":"https://avatars.githubusercontent.com/u/245554?v=3","gravatar_id":"","url":"https://api.github.com/users/activeprospect","html_url":"https://github.com/activeprospect","followers_url":"https://api.github.com/users/activeprospect/followers","following_url":"https://api.github.com/users/activeprospect/following{/other_user}","gists_url":"https://api.github.com/users/activeprospect/gists{/gist_id}","starred_url":"https://api.github.com/users/activeprospect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeprospect/subscriptions","organizations_url":"https://api.github.com/users/activeprospect/orgs","repos_url":"https://api.github.com/users/activeprospect/repos","events_url":"https://api.github.com/users/activeprospect/events{/privacy}","received_events_url":"https://api.github.com/users/activeprospect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activeprospect/leadconduit-integration-towerdata","description":"","fork":false,"url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata","forks_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/forks","keys_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/teams","hooks_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/hooks","issue_events_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/issues/events{/number}","events_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/events","assignees_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/assignees{/user}","branches_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/branches{/branch}","tags_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/tags","blobs_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/statuses/{sha}","languages_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/languages","stargazers_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/stargazers","contributors_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/contributors","subscribers_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/subscribers","subscription_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/subscription","commits_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/contents/{+path}","compare_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/merges","archive_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/downloads","issues_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/issues{/number}","pulls_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls{/number}","milestones_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/milestones{/number}","notifications_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/labels{/name}","releases_url":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/releases{/id}","created_at":"2015-01-16T21:51:20Z","updated_at":"2015-02-27T18:23:24Z","pushed_at":"2015-06-09T01:08:45Z","git_url":"git://github.com/activeprospect/leadconduit-integration-towerdata.git","ssh_url":"git@github.com:activeprospect/leadconduit-integration-towerdata.git","clone_url":"https://github.com/activeprospect/leadconduit-integration-towerdata.git","svn_url":"https://github.com/activeprospect/leadconduit-integration-towerdata","homepage":null,"size":352,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/16"},"html":{"href":"https://github.com/activeprospect/leadconduit-integration-towerdata/pull/16"},"issue":{"href":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/issues/16"},"comments":{"href":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/activeprospect/leadconduit-integration-towerdata/statuses/5bb6c073cb8da5c4f593d52244659097582a6174"}}}}