{"action":"created","comment":{"url":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/comments/72890222","id":72890222,"diff_hunk":"@@ -0,0 +1,23 @@\n+require 'spec_helper'\n+\n+RSpec.describe Operations::Result do\n+  describe '#code' do\n+    let!(:operation_result_code) { :insufficient_funds }\n+\n+    it 'exposes the operation result code' do","path":"spec/operations/result_spec.rb","position":7,"original_position":7,"commit_id":"240959ab429b714faf2f24d5bb2496459fcdcafc","original_commit_id":"240959ab429b714faf2f24d5bb2496459fcdcafc","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2016-07-30T16:27:48Z","updated_at":"2016-07-30T16:27:48Z","html_url":"https://github.com/wilsonsilva/grape-embryo/pull/9#discussion_r72890222","pull_request_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/comments/72890222"},"html":{"href":"https://github.com/wilsonsilva/grape-embryo/pull/9#discussion_r72890222"},"pull_request":{"href":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/9","id":79461485,"html_url":"https://github.com/wilsonsilva/grape-embryo/pull/9","diff_url":"https://github.com/wilsonsilva/grape-embryo/pull/9.diff","patch_url":"https://github.com/wilsonsilva/grape-embryo/pull/9.patch","issue_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/issues/9","number":9,"state":"open","locked":false,"title":"Define content delivery boundaries","user":{"login":"wilsonsilva","id":645203,"avatar_url":"https://avatars.githubusercontent.com/u/645203?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonsilva","html_url":"https://github.com/wilsonsilva","followers_url":"https://api.github.com/users/wilsonsilva/followers","following_url":"https://api.github.com/users/wilsonsilva/following{/other_user}","gists_url":"https://api.github.com/users/wilsonsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonsilva/subscriptions","organizations_url":"https://api.github.com/users/wilsonsilva/orgs","repos_url":"https://api.github.com/users/wilsonsilva/repos","events_url":"https://api.github.com/users/wilsonsilva/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonsilva/received_events","type":"User","site_admin":false},"body":"I defined a clear boundary between the web delivery and the business logic by wrapping every operation in a stateless service object. This is a big step towards extracting the business logic into its own gem.","created_at":"2016-07-30T16:27:41Z","updated_at":"2016-07-30T16:27:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"24fd9c3bcb91be6b9ca2a19e4c2d8d10ec017a44","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/9/commits","review_comments_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/9/comments","review_comment_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/issues/9/comments","statuses_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/statuses/240959ab429b714faf2f24d5bb2496459fcdcafc","head":{"label":"wilsonsilva:define-content-delivery-boundaries","ref":"define-content-delivery-boundaries","sha":"240959ab429b714faf2f24d5bb2496459fcdcafc","user":{"login":"wilsonsilva","id":645203,"avatar_url":"https://avatars.githubusercontent.com/u/645203?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonsilva","html_url":"https://github.com/wilsonsilva","followers_url":"https://api.github.com/users/wilsonsilva/followers","following_url":"https://api.github.com/users/wilsonsilva/following{/other_user}","gists_url":"https://api.github.com/users/wilsonsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonsilva/subscriptions","organizations_url":"https://api.github.com/users/wilsonsilva/orgs","repos_url":"https://api.github.com/users/wilsonsilva/repos","events_url":"https://api.github.com/users/wilsonsilva/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonsilva/received_events","type":"User","site_admin":false},"repo":{"id":46315932,"name":"grape-embryo","full_name":"wilsonsilva/grape-embryo","owner":{"login":"wilsonsilva","id":645203,"avatar_url":"https://avatars.githubusercontent.com/u/645203?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonsilva","html_url":"https://github.com/wilsonsilva","followers_url":"https://api.github.com/users/wilsonsilva/followers","following_url":"https://api.github.com/users/wilsonsilva/following{/other_user}","gists_url":"https://api.github.com/users/wilsonsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonsilva/subscriptions","organizations_url":"https://api.github.com/users/wilsonsilva/orgs","repos_url":"https://api.github.com/users/wilsonsilva/repos","events_url":"https://api.github.com/users/wilsonsilva/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonsilva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wilsonsilva/grape-embryo","description":"A Grape app mounted on Rack that helps you put together a RESTful API.","fork":false,"url":"https://api.github.com/repos/wilsonsilva/grape-embryo","forks_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/forks","keys_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/teams","hooks_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/hooks","issue_events_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/issues/events{/number}","events_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/events","assignees_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/assignees{/user}","branches_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/branches{/branch}","tags_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/tags","blobs_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/git/refs{/sha}","trees_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/statuses/{sha}","languages_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/languages","stargazers_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/stargazers","contributors_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/contributors","subscribers_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/subscribers","subscription_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/subscription","commits_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/commits{/sha}","git_commits_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/git/commits{/sha}","comments_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/comments{/number}","issue_comment_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/issues/comments{/number}","contents_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/contents/{+path}","compare_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/merges","archive_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/downloads","issues_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/issues{/number}","pulls_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls{/number}","milestones_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/milestones{/number}","notifications_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/labels{/name}","releases_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/releases{/id}","deployments_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/deployments","created_at":"2015-11-17T01:48:24Z","updated_at":"2016-07-15T16:01:07Z","pushed_at":"2016-07-30T16:27:41Z","git_url":"git://github.com/wilsonsilva/grape-embryo.git","ssh_url":"git@github.com:wilsonsilva/grape-embryo.git","clone_url":"https://github.com/wilsonsilva/grape-embryo.git","svn_url":"https://github.com/wilsonsilva/grape-embryo","homepage":null,"size":64,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"wilsonsilva:master","ref":"master","sha":"b5d559a1e07535bb3a57dd6f3cf475ecd79b9c44","user":{"login":"wilsonsilva","id":645203,"avatar_url":"https://avatars.githubusercontent.com/u/645203?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonsilva","html_url":"https://github.com/wilsonsilva","followers_url":"https://api.github.com/users/wilsonsilva/followers","following_url":"https://api.github.com/users/wilsonsilva/following{/other_user}","gists_url":"https://api.github.com/users/wilsonsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonsilva/subscriptions","organizations_url":"https://api.github.com/users/wilsonsilva/orgs","repos_url":"https://api.github.com/users/wilsonsilva/repos","events_url":"https://api.github.com/users/wilsonsilva/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonsilva/received_events","type":"User","site_admin":false},"repo":{"id":46315932,"name":"grape-embryo","full_name":"wilsonsilva/grape-embryo","owner":{"login":"wilsonsilva","id":645203,"avatar_url":"https://avatars.githubusercontent.com/u/645203?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonsilva","html_url":"https://github.com/wilsonsilva","followers_url":"https://api.github.com/users/wilsonsilva/followers","following_url":"https://api.github.com/users/wilsonsilva/following{/other_user}","gists_url":"https://api.github.com/users/wilsonsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonsilva/subscriptions","organizations_url":"https://api.github.com/users/wilsonsilva/orgs","repos_url":"https://api.github.com/users/wilsonsilva/repos","events_url":"https://api.github.com/users/wilsonsilva/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonsilva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wilsonsilva/grape-embryo","description":"A Grape app mounted on Rack that helps you put together a RESTful API.","fork":false,"url":"https://api.github.com/repos/wilsonsilva/grape-embryo","forks_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/forks","keys_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/teams","hooks_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/hooks","issue_events_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/issues/events{/number}","events_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/events","assignees_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/assignees{/user}","branches_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/branches{/branch}","tags_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/tags","blobs_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/git/refs{/sha}","trees_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/statuses/{sha}","languages_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/languages","stargazers_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/stargazers","contributors_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/contributors","subscribers_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/subscribers","subscription_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/subscription","commits_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/commits{/sha}","git_commits_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/git/commits{/sha}","comments_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/comments{/number}","issue_comment_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/issues/comments{/number}","contents_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/contents/{+path}","compare_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/merges","archive_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/downloads","issues_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/issues{/number}","pulls_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls{/number}","milestones_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/milestones{/number}","notifications_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/labels{/name}","releases_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/releases{/id}","deployments_url":"https://api.github.com/repos/wilsonsilva/grape-embryo/deployments","created_at":"2015-11-17T01:48:24Z","updated_at":"2016-07-15T16:01:07Z","pushed_at":"2016-07-30T16:27:41Z","git_url":"git://github.com/wilsonsilva/grape-embryo.git","ssh_url":"git@github.com:wilsonsilva/grape-embryo.git","clone_url":"https://github.com/wilsonsilva/grape-embryo.git","svn_url":"https://github.com/wilsonsilva/grape-embryo","homepage":null,"size":64,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/9"},"html":{"href":"https://github.com/wilsonsilva/grape-embryo/pull/9"},"issue":{"href":"https://api.github.com/repos/wilsonsilva/grape-embryo/issues/9"},"comments":{"href":"https://api.github.com/repos/wilsonsilva/grape-embryo/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wilsonsilva/grape-embryo/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/wilsonsilva/grape-embryo/statuses/240959ab429b714faf2f24d5bb2496459fcdcafc"}}}}
{"actor":{"display_login":"houndci-bot"}}