{"action":"created","comment":{"url":"https://api.github.com/repos/teachbase/amorail/pulls/comments/23911828","id":23911828,"diff_hunk":"@@ -8,26 +10,26 @@ def request_attributes\n           contacts: {\n             add: [\n               {\n-                name: self.name,\n-                linked_leads_id: [self.linked_leads_id],\n-                type: 'contact',\n-                company_name: self.company_name,\n+                name: name,\n+                linked_leads_id: [linked_leads_id],\n+                type: \"contact\",\n+                company_name: company_name,\n                 custom_fields: [\n                   {\n-                    id: 1460597,\n-                    values: [{value: self.address}]\n+                    id: properties.company.address.id,\n+                    values: [{value: address}]\n                   },\n                   {\n-                    id: 1460589,\n-                    values: [{value: self.phone, enum: 'WORK'}]\n+                    id: properties.company.phone.id,\n+                    values: [{value: phone, enum: \"WORK\"}]","path":"lib/amorail/entities/company.rb","position":33,"original_position":33,"commit_id":"d5d1528d4167f36e983291a33f2174e73f292d8d","original_commit_id":"d5d1528d4167f36e983291a33f2174e73f292d8d","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Space inside { missing.<br>Space inside } missing.","created_at":"2015-02-02T08:36:26Z","updated_at":"2015-02-02T08:36:26Z","html_url":"https://github.com/teachbase/amorail/pull/1#discussion_r23911828","pull_request_url":"https://api.github.com/repos/teachbase/amorail/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/teachbase/amorail/pulls/comments/23911828"},"html":{"href":"https://github.com/teachbase/amorail/pull/1#discussion_r23911828"},"pull_request":{"href":"https://api.github.com/repos/teachbase/amorail/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/teachbase/amorail/pulls/1","id":28197604,"html_url":"https://github.com/teachbase/amorail/pull/1","diff_url":"https://github.com/teachbase/amorail/pull/1.diff","patch_url":"https://github.com/teachbase/amorail/pull/1.patch","issue_url":"https://api.github.com/repos/teachbase/amorail/issues/1","number":1,"state":"open","locked":false,"title":"Properties","user":{"login":"alekseenkoss77","id":2551688,"avatar_url":"https://avatars.githubusercontent.com/u/2551688?v=3","gravatar_id":"","url":"https://api.github.com/users/alekseenkoss77","html_url":"https://github.com/alekseenkoss77","followers_url":"https://api.github.com/users/alekseenkoss77/followers","following_url":"https://api.github.com/users/alekseenkoss77/following{/other_user}","gists_url":"https://api.github.com/users/alekseenkoss77/gists{/gist_id}","starred_url":"https://api.github.com/users/alekseenkoss77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alekseenkoss77/subscriptions","organizations_url":"https://api.github.com/users/alekseenkoss77/orgs","repos_url":"https://api.github.com/users/alekseenkoss77/repos","events_url":"https://api.github.com/users/alekseenkoss77/events{/privacy}","received_events_url":"https://api.github.com/users/alekseenkoss77/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-28T14:35:01Z","updated_at":"2015-02-02T08:36:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"041feec445b61e13c5470731b78dbd04c5797cf0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/teachbase/amorail/pulls/1/commits","review_comments_url":"https://api.github.com/repos/teachbase/amorail/pulls/1/comments","review_comment_url":"https://api.github.com/repos/teachbase/amorail/pulls/comments/{number}","comments_url":"https://api.github.com/repos/teachbase/amorail/issues/1/comments","statuses_url":"https://api.github.com/repos/teachbase/amorail/statuses/d5d1528d4167f36e983291a33f2174e73f292d8d","head":{"label":"teachbase:properties","ref":"properties","sha":"d5d1528d4167f36e983291a33f2174e73f292d8d","user":{"login":"teachbase","id":10232914,"avatar_url":"https://avatars.githubusercontent.com/u/10232914?v=3","gravatar_id":"","url":"https://api.github.com/users/teachbase","html_url":"https://github.com/teachbase","followers_url":"https://api.github.com/users/teachbase/followers","following_url":"https://api.github.com/users/teachbase/following{/other_user}","gists_url":"https://api.github.com/users/teachbase/gists{/gist_id}","starred_url":"https://api.github.com/users/teachbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teachbase/subscriptions","organizations_url":"https://api.github.com/users/teachbase/orgs","repos_url":"https://api.github.com/users/teachbase/repos","events_url":"https://api.github.com/users/teachbase/events{/privacy}","received_events_url":"https://api.github.com/users/teachbase/received_events","type":"Organization","site_admin":false},"repo":{"id":29674544,"name":"amorail","full_name":"teachbase/amorail","owner":{"login":"teachbase","id":10232914,"avatar_url":"https://avatars.githubusercontent.com/u/10232914?v=3","gravatar_id":"","url":"https://api.github.com/users/teachbase","html_url":"https://github.com/teachbase","followers_url":"https://api.github.com/users/teachbase/followers","following_url":"https://api.github.com/users/teachbase/following{/other_user}","gists_url":"https://api.github.com/users/teachbase/gists{/gist_id}","starred_url":"https://api.github.com/users/teachbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teachbase/subscriptions","organizations_url":"https://api.github.com/users/teachbase/orgs","repos_url":"https://api.github.com/users/teachbase/repos","events_url":"https://api.github.com/users/teachbase/events{/privacy}","received_events_url":"https://api.github.com/users/teachbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teachbase/amorail","description":"AmoCRM Rails plugin","fork":false,"url":"https://api.github.com/repos/teachbase/amorail","forks_url":"https://api.github.com/repos/teachbase/amorail/forks","keys_url":"https://api.github.com/repos/teachbase/amorail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teachbase/amorail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teachbase/amorail/teams","hooks_url":"https://api.github.com/repos/teachbase/amorail/hooks","issue_events_url":"https://api.github.com/repos/teachbase/amorail/issues/events{/number}","events_url":"https://api.github.com/repos/teachbase/amorail/events","assignees_url":"https://api.github.com/repos/teachbase/amorail/assignees{/user}","branches_url":"https://api.github.com/repos/teachbase/amorail/branches{/branch}","tags_url":"https://api.github.com/repos/teachbase/amorail/tags","blobs_url":"https://api.github.com/repos/teachbase/amorail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teachbase/amorail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teachbase/amorail/git/refs{/sha}","trees_url":"https://api.github.com/repos/teachbase/amorail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teachbase/amorail/statuses/{sha}","languages_url":"https://api.github.com/repos/teachbase/amorail/languages","stargazers_url":"https://api.github.com/repos/teachbase/amorail/stargazers","contributors_url":"https://api.github.com/repos/teachbase/amorail/contributors","subscribers_url":"https://api.github.com/repos/teachbase/amorail/subscribers","subscription_url":"https://api.github.com/repos/teachbase/amorail/subscription","commits_url":"https://api.github.com/repos/teachbase/amorail/commits{/sha}","git_commits_url":"https://api.github.com/repos/teachbase/amorail/git/commits{/sha}","comments_url":"https://api.github.com/repos/teachbase/amorail/comments{/number}","issue_comment_url":"https://api.github.com/repos/teachbase/amorail/issues/comments/{number}","contents_url":"https://api.github.com/repos/teachbase/amorail/contents/{+path}","compare_url":"https://api.github.com/repos/teachbase/amorail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teachbase/amorail/merges","archive_url":"https://api.github.com/repos/teachbase/amorail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teachbase/amorail/downloads","issues_url":"https://api.github.com/repos/teachbase/amorail/issues{/number}","pulls_url":"https://api.github.com/repos/teachbase/amorail/pulls{/number}","milestones_url":"https://api.github.com/repos/teachbase/amorail/milestones{/number}","notifications_url":"https://api.github.com/repos/teachbase/amorail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teachbase/amorail/labels{/name}","releases_url":"https://api.github.com/repos/teachbase/amorail/releases{/id}","created_at":"2015-01-22T11:01:40Z","updated_at":"2015-02-02T07:44:44Z","pushed_at":"2015-02-02T08:36:18Z","git_url":"git://github.com/teachbase/amorail.git","ssh_url":"git@github.com:teachbase/amorail.git","clone_url":"https://github.com/teachbase/amorail.git","svn_url":"https://github.com/teachbase/amorail","homepage":null,"size":256,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"teachbase:master","ref":"master","sha":"55c871d3be04e021e084d1af0071f527aeec5e86","user":{"login":"teachbase","id":10232914,"avatar_url":"https://avatars.githubusercontent.com/u/10232914?v=3","gravatar_id":"","url":"https://api.github.com/users/teachbase","html_url":"https://github.com/teachbase","followers_url":"https://api.github.com/users/teachbase/followers","following_url":"https://api.github.com/users/teachbase/following{/other_user}","gists_url":"https://api.github.com/users/teachbase/gists{/gist_id}","starred_url":"https://api.github.com/users/teachbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teachbase/subscriptions","organizations_url":"https://api.github.com/users/teachbase/orgs","repos_url":"https://api.github.com/users/teachbase/repos","events_url":"https://api.github.com/users/teachbase/events{/privacy}","received_events_url":"https://api.github.com/users/teachbase/received_events","type":"Organization","site_admin":false},"repo":{"id":29674544,"name":"amorail","full_name":"teachbase/amorail","owner":{"login":"teachbase","id":10232914,"avatar_url":"https://avatars.githubusercontent.com/u/10232914?v=3","gravatar_id":"","url":"https://api.github.com/users/teachbase","html_url":"https://github.com/teachbase","followers_url":"https://api.github.com/users/teachbase/followers","following_url":"https://api.github.com/users/teachbase/following{/other_user}","gists_url":"https://api.github.com/users/teachbase/gists{/gist_id}","starred_url":"https://api.github.com/users/teachbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teachbase/subscriptions","organizations_url":"https://api.github.com/users/teachbase/orgs","repos_url":"https://api.github.com/users/teachbase/repos","events_url":"https://api.github.com/users/teachbase/events{/privacy}","received_events_url":"https://api.github.com/users/teachbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teachbase/amorail","description":"AmoCRM Rails plugin","fork":false,"url":"https://api.github.com/repos/teachbase/amorail","forks_url":"https://api.github.com/repos/teachbase/amorail/forks","keys_url":"https://api.github.com/repos/teachbase/amorail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teachbase/amorail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teachbase/amorail/teams","hooks_url":"https://api.github.com/repos/teachbase/amorail/hooks","issue_events_url":"https://api.github.com/repos/teachbase/amorail/issues/events{/number}","events_url":"https://api.github.com/repos/teachbase/amorail/events","assignees_url":"https://api.github.com/repos/teachbase/amorail/assignees{/user}","branches_url":"https://api.github.com/repos/teachbase/amorail/branches{/branch}","tags_url":"https://api.github.com/repos/teachbase/amorail/tags","blobs_url":"https://api.github.com/repos/teachbase/amorail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teachbase/amorail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teachbase/amorail/git/refs{/sha}","trees_url":"https://api.github.com/repos/teachbase/amorail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teachbase/amorail/statuses/{sha}","languages_url":"https://api.github.com/repos/teachbase/amorail/languages","stargazers_url":"https://api.github.com/repos/teachbase/amorail/stargazers","contributors_url":"https://api.github.com/repos/teachbase/amorail/contributors","subscribers_url":"https://api.github.com/repos/teachbase/amorail/subscribers","subscription_url":"https://api.github.com/repos/teachbase/amorail/subscription","commits_url":"https://api.github.com/repos/teachbase/amorail/commits{/sha}","git_commits_url":"https://api.github.com/repos/teachbase/amorail/git/commits{/sha}","comments_url":"https://api.github.com/repos/teachbase/amorail/comments{/number}","issue_comment_url":"https://api.github.com/repos/teachbase/amorail/issues/comments/{number}","contents_url":"https://api.github.com/repos/teachbase/amorail/contents/{+path}","compare_url":"https://api.github.com/repos/teachbase/amorail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teachbase/amorail/merges","archive_url":"https://api.github.com/repos/teachbase/amorail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teachbase/amorail/downloads","issues_url":"https://api.github.com/repos/teachbase/amorail/issues{/number}","pulls_url":"https://api.github.com/repos/teachbase/amorail/pulls{/number}","milestones_url":"https://api.github.com/repos/teachbase/amorail/milestones{/number}","notifications_url":"https://api.github.com/repos/teachbase/amorail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teachbase/amorail/labels{/name}","releases_url":"https://api.github.com/repos/teachbase/amorail/releases{/id}","created_at":"2015-01-22T11:01:40Z","updated_at":"2015-02-02T07:44:44Z","pushed_at":"2015-02-02T08:36:18Z","git_url":"git://github.com/teachbase/amorail.git","ssh_url":"git@github.com:teachbase/amorail.git","clone_url":"https://github.com/teachbase/amorail.git","svn_url":"https://github.com/teachbase/amorail","homepage":null,"size":256,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teachbase/amorail/pulls/1"},"html":{"href":"https://github.com/teachbase/amorail/pull/1"},"issue":{"href":"https://api.github.com/repos/teachbase/amorail/issues/1"},"comments":{"href":"https://api.github.com/repos/teachbase/amorail/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/teachbase/amorail/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/teachbase/amorail/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/teachbase/amorail/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/teachbase/amorail/statuses/d5d1528d4167f36e983291a33f2174e73f292d8d"}}}}