{"action":"created","comment":{"url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/comments/46792090","id":46792090,"diff_hunk":"@@ -0,0 +1,16 @@\n+class Todo::Destroy < Trailblazer::Operation\n+\n+\tcontract do \n+\t\tdef prepopulate!(options)\n+\t\t\t@model = Todo.find(options[:id])\n+\t\tend\n+\tend\n+\n+\tdef process(params)\n+\t\tif @contract.model\n+\t\t\t@valid = @contract.model.destroy\n+\t\telse\n+\t\t\t@valid = false\n+\t\tend\n+\tend","path":"app/concepts/todo/destroy.rb","position":15,"original_position":15,"commit_id":"2119f0923104779f0d77920a0c03139fea345c16","original_commit_id":"2119f0923104779f0d77920a0c03139fea345c16","user":{"login":"kennethcalamay","id":347100,"avatar_url":"https://avatars.githubusercontent.com/u/347100?v=3","gravatar_id":"","url":"https://api.github.com/users/kennethcalamay","html_url":"https://github.com/kennethcalamay","followers_url":"https://api.github.com/users/kennethcalamay/followers","following_url":"https://api.github.com/users/kennethcalamay/following{/other_user}","gists_url":"https://api.github.com/users/kennethcalamay/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethcalamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethcalamay/subscriptions","organizations_url":"https://api.github.com/users/kennethcalamay/orgs","repos_url":"https://api.github.com/users/kennethcalamay/repos","events_url":"https://api.github.com/users/kennethcalamay/events{/privacy}","received_events_url":"https://api.github.com/users/kennethcalamay/received_events","type":"User","site_admin":false},"body":"Try using my comments in reimplementing this one.","created_at":"2015-12-07T07:18:36Z","updated_at":"2015-12-07T07:18:36Z","html_url":"https://github.com/serviceseeking/serviceseeking-test/pull/1#discussion_r46792090","pull_request_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/comments/46792090"},"html":{"href":"https://github.com/serviceseeking/serviceseeking-test/pull/1#discussion_r46792090"},"pull_request":{"href":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/1","id":51605058,"html_url":"https://github.com/serviceseeking/serviceseeking-test/pull/1","diff_url":"https://github.com/serviceseeking/serviceseeking-test/pull/1.diff","patch_url":"https://github.com/serviceseeking/serviceseeking-test/pull/1.patch","issue_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/issues/1","number":1,"state":"open","locked":false,"title":"For Test Compliance","user":{"login":"rgabriel01","id":7508104,"avatar_url":"https://avatars.githubusercontent.com/u/7508104?v=3","gravatar_id":"","url":"https://api.github.com/users/rgabriel01","html_url":"https://github.com/rgabriel01","followers_url":"https://api.github.com/users/rgabriel01/followers","following_url":"https://api.github.com/users/rgabriel01/following{/other_user}","gists_url":"https://api.github.com/users/rgabriel01/gists{/gist_id}","starred_url":"https://api.github.com/users/rgabriel01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgabriel01/subscriptions","organizations_url":"https://api.github.com/users/rgabriel01/orgs","repos_url":"https://api.github.com/users/rgabriel01/repos","events_url":"https://api.github.com/users/rgabriel01/events{/privacy}","received_events_url":"https://api.github.com/users/rgabriel01/received_events","type":"User","site_admin":false},"body":"Commit","created_at":"2015-11-24T01:19:05Z","updated_at":"2015-12-07T07:18:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1611320e76862dc87bfab60c11ca6f67e225fac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/1/commits","review_comments_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/1/comments","review_comment_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/issues/1/comments","statuses_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/statuses/2119f0923104779f0d77920a0c03139fea345c16","head":{"label":"rgabriel01:raymond_branch","ref":"raymond_branch","sha":"2119f0923104779f0d77920a0c03139fea345c16","user":{"login":"rgabriel01","id":7508104,"avatar_url":"https://avatars.githubusercontent.com/u/7508104?v=3","gravatar_id":"","url":"https://api.github.com/users/rgabriel01","html_url":"https://github.com/rgabriel01","followers_url":"https://api.github.com/users/rgabriel01/followers","following_url":"https://api.github.com/users/rgabriel01/following{/other_user}","gists_url":"https://api.github.com/users/rgabriel01/gists{/gist_id}","starred_url":"https://api.github.com/users/rgabriel01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgabriel01/subscriptions","organizations_url":"https://api.github.com/users/rgabriel01/orgs","repos_url":"https://api.github.com/users/rgabriel01/repos","events_url":"https://api.github.com/users/rgabriel01/events{/privacy}","received_events_url":"https://api.github.com/users/rgabriel01/received_events","type":"User","site_admin":false},"repo":{"id":46757330,"name":"serviceseeking-test","full_name":"rgabriel01/serviceseeking-test","owner":{"login":"rgabriel01","id":7508104,"avatar_url":"https://avatars.githubusercontent.com/u/7508104?v=3","gravatar_id":"","url":"https://api.github.com/users/rgabriel01","html_url":"https://github.com/rgabriel01","followers_url":"https://api.github.com/users/rgabriel01/followers","following_url":"https://api.github.com/users/rgabriel01/following{/other_user}","gists_url":"https://api.github.com/users/rgabriel01/gists{/gist_id}","starred_url":"https://api.github.com/users/rgabriel01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgabriel01/subscriptions","organizations_url":"https://api.github.com/users/rgabriel01/orgs","repos_url":"https://api.github.com/users/rgabriel01/repos","events_url":"https://api.github.com/users/rgabriel01/events{/privacy}","received_events_url":"https://api.github.com/users/rgabriel01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rgabriel01/serviceseeking-test","description":"","fork":true,"url":"https://api.github.com/repos/rgabriel01/serviceseeking-test","forks_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/forks","keys_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/teams","hooks_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/hooks","issue_events_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/issues/events{/number}","events_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/events","assignees_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/assignees{/user}","branches_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/branches{/branch}","tags_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/tags","blobs_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/statuses/{sha}","languages_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/languages","stargazers_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/stargazers","contributors_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/contributors","subscribers_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/subscribers","subscription_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/subscription","commits_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/contents/{+path}","compare_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/merges","archive_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/downloads","issues_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/issues{/number}","pulls_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/pulls{/number}","milestones_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/milestones{/number}","notifications_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/labels{/name}","releases_url":"https://api.github.com/repos/rgabriel01/serviceseeking-test/releases{/id}","created_at":"2015-11-24T00:46:23Z","updated_at":"2015-11-24T00:46:24Z","pushed_at":"2015-12-01T13:09:35Z","git_url":"git://github.com/rgabriel01/serviceseeking-test.git","ssh_url":"git@github.com:rgabriel01/serviceseeking-test.git","clone_url":"https://github.com/rgabriel01/serviceseeking-test.git","svn_url":"https://github.com/rgabriel01/serviceseeking-test","homepage":null,"size":34,"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":"serviceseeking:master","ref":"master","sha":"6582d7df6fff7dc69d42350c485f9251a17f45ca","user":{"login":"serviceseeking","id":62600,"avatar_url":"https://avatars.githubusercontent.com/u/62600?v=3","gravatar_id":"","url":"https://api.github.com/users/serviceseeking","html_url":"https://github.com/serviceseeking","followers_url":"https://api.github.com/users/serviceseeking/followers","following_url":"https://api.github.com/users/serviceseeking/following{/other_user}","gists_url":"https://api.github.com/users/serviceseeking/gists{/gist_id}","starred_url":"https://api.github.com/users/serviceseeking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serviceseeking/subscriptions","organizations_url":"https://api.github.com/users/serviceseeking/orgs","repos_url":"https://api.github.com/users/serviceseeking/repos","events_url":"https://api.github.com/users/serviceseeking/events{/privacy}","received_events_url":"https://api.github.com/users/serviceseeking/received_events","type":"User","site_admin":false},"repo":{"id":46533634,"name":"serviceseeking-test","full_name":"serviceseeking/serviceseeking-test","owner":{"login":"serviceseeking","id":62600,"avatar_url":"https://avatars.githubusercontent.com/u/62600?v=3","gravatar_id":"","url":"https://api.github.com/users/serviceseeking","html_url":"https://github.com/serviceseeking","followers_url":"https://api.github.com/users/serviceseeking/followers","following_url":"https://api.github.com/users/serviceseeking/following{/other_user}","gists_url":"https://api.github.com/users/serviceseeking/gists{/gist_id}","starred_url":"https://api.github.com/users/serviceseeking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serviceseeking/subscriptions","organizations_url":"https://api.github.com/users/serviceseeking/orgs","repos_url":"https://api.github.com/users/serviceseeking/repos","events_url":"https://api.github.com/users/serviceseeking/events{/privacy}","received_events_url":"https://api.github.com/users/serviceseeking/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/serviceseeking/serviceseeking-test","description":"","fork":false,"url":"https://api.github.com/repos/serviceseeking/serviceseeking-test","forks_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/forks","keys_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/teams","hooks_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/hooks","issue_events_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/issues/events{/number}","events_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/events","assignees_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/assignees{/user}","branches_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/branches{/branch}","tags_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/tags","blobs_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/statuses/{sha}","languages_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/languages","stargazers_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/stargazers","contributors_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/contributors","subscribers_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/subscribers","subscription_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/subscription","commits_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/contents/{+path}","compare_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/merges","archive_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/downloads","issues_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/issues{/number}","pulls_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls{/number}","milestones_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/milestones{/number}","notifications_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/labels{/name}","releases_url":"https://api.github.com/repos/serviceseeking/serviceseeking-test/releases{/id}","created_at":"2015-11-20T02:24:27Z","updated_at":"2015-11-20T02:29:56Z","pushed_at":"2015-12-01T13:09:36Z","git_url":"git://github.com/serviceseeking/serviceseeking-test.git","ssh_url":"git@github.com:serviceseeking/serviceseeking-test.git","clone_url":"https://github.com/serviceseeking/serviceseeking-test.git","svn_url":"https://github.com/serviceseeking/serviceseeking-test","homepage":null,"size":24,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/1"},"html":{"href":"https://github.com/serviceseeking/serviceseeking-test/pull/1"},"issue":{"href":"https://api.github.com/repos/serviceseeking/serviceseeking-test/issues/1"},"comments":{"href":"https://api.github.com/repos/serviceseeking/serviceseeking-test/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/serviceseeking/serviceseeking-test/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/serviceseeking/serviceseeking-test/statuses/2119f0923104779f0d77920a0c03139fea345c16"}}}}