{"action":"created","comment":{"url":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/comments/62019049","id":62019049,"diff_hunk":"@@ -0,0 +1,22 @@\n+class Api::V1::Jobo::RequestsController <  Api::V1::BaseController\n+  acts_as_token_authentication_handler_for User\n+\n+  def create\n+    account = current_user.jobo_account\n+    payment_request = account.requests.build(request_params)\n+\n+    if payment_request.save\n+      render json: payment_request, serializer: ::Api::V1::Jobo::RequestSerializer, status: 201","path":"app/controllers/api/v1/jobo/requests_controller.rb","position":9,"original_position":9,"commit_id":"24c7ad718cd3599f82b3494e2daec2145a0c9195","original_commit_id":"24c7ad718cd3599f82b3494e2daec2145a0c9195","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":"Line is too long. [95/80]","created_at":"2016-05-04T10:35:34Z","updated_at":"2016-05-04T10:35:34Z","html_url":"https://github.com/LordAlexWorks/proactives/pull/1146#discussion_r62019049","pull_request_url":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/1146","_links":{"self":{"href":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/comments/62019049"},"html":{"href":"https://github.com/LordAlexWorks/proactives/pull/1146#discussion_r62019049"},"pull_request":{"href":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/1146"}}},"pull_request":{"url":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/1146","id":68837780,"html_url":"https://github.com/LordAlexWorks/proactives/pull/1146","diff_url":"https://github.com/LordAlexWorks/proactives/pull/1146.diff","patch_url":"https://github.com/LordAlexWorks/proactives/pull/1146.patch","issue_url":"https://api.github.com/repos/LordAlexWorks/proactives/issues/1146","number":1146,"state":"open","locked":false,"title":"First approach for Jobo Request API","user":{"login":"rmonteiro89","id":8313004,"avatar_url":"https://avatars.githubusercontent.com/u/8313004?v=3","gravatar_id":"","url":"https://api.github.com/users/rmonteiro89","html_url":"https://github.com/rmonteiro89","followers_url":"https://api.github.com/users/rmonteiro89/followers","following_url":"https://api.github.com/users/rmonteiro89/following{/other_user}","gists_url":"https://api.github.com/users/rmonteiro89/gists{/gist_id}","starred_url":"https://api.github.com/users/rmonteiro89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmonteiro89/subscriptions","organizations_url":"https://api.github.com/users/rmonteiro89/orgs","repos_url":"https://api.github.com/users/rmonteiro89/repos","events_url":"https://api.github.com/users/rmonteiro89/events{/privacy}","received_events_url":"https://api.github.com/users/rmonteiro89/received_events","type":"User","site_admin":false},"body":"Issue #1125 \r\n\r\n- [x] Modify jobo_requests amount to use decimal instead of integer\r\n- [x] Replace jobo_requests currency reference to currency_code string\r\n- [x] Create the api controller for jobo request\r\n- [x] Create the serializer for jobo request\r\n- [ ] Missing routes\r\n- [ ] Missing test\r\n\r\n@bolom ","created_at":"2016-05-04T10:07:33Z","updated_at":"2016-05-04T10:35:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c62ce3323229b85d8d8b4187e5da0bbb91a125c2","assignee":{"login":"rmonteiro89","id":8313004,"avatar_url":"https://avatars.githubusercontent.com/u/8313004?v=3","gravatar_id":"","url":"https://api.github.com/users/rmonteiro89","html_url":"https://github.com/rmonteiro89","followers_url":"https://api.github.com/users/rmonteiro89/followers","following_url":"https://api.github.com/users/rmonteiro89/following{/other_user}","gists_url":"https://api.github.com/users/rmonteiro89/gists{/gist_id}","starred_url":"https://api.github.com/users/rmonteiro89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmonteiro89/subscriptions","organizations_url":"https://api.github.com/users/rmonteiro89/orgs","repos_url":"https://api.github.com/users/rmonteiro89/repos","events_url":"https://api.github.com/users/rmonteiro89/events{/privacy}","received_events_url":"https://api.github.com/users/rmonteiro89/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/1146/commits","review_comments_url":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/1146/comments","review_comment_url":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LordAlexWorks/proactives/issues/1146/comments","statuses_url":"https://api.github.com/repos/LordAlexWorks/proactives/statuses/24c7ad718cd3599f82b3494e2daec2145a0c9195","head":{"label":"LordAlexWorks:rm-issue-1125","ref":"rm-issue-1125","sha":"24c7ad718cd3599f82b3494e2daec2145a0c9195","user":{"login":"LordAlexWorks","id":353420,"avatar_url":"https://avatars.githubusercontent.com/u/353420?v=3","gravatar_id":"","url":"https://api.github.com/users/LordAlexWorks","html_url":"https://github.com/LordAlexWorks","followers_url":"https://api.github.com/users/LordAlexWorks/followers","following_url":"https://api.github.com/users/LordAlexWorks/following{/other_user}","gists_url":"https://api.github.com/users/LordAlexWorks/gists{/gist_id}","starred_url":"https://api.github.com/users/LordAlexWorks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordAlexWorks/subscriptions","organizations_url":"https://api.github.com/users/LordAlexWorks/orgs","repos_url":"https://api.github.com/users/LordAlexWorks/repos","events_url":"https://api.github.com/users/LordAlexWorks/events{/privacy}","received_events_url":"https://api.github.com/users/LordAlexWorks/received_events","type":"Organization","site_admin":false},"repo":{"id":29404980,"name":"proactives","full_name":"LordAlexWorks/proactives","owner":{"login":"LordAlexWorks","id":353420,"avatar_url":"https://avatars.githubusercontent.com/u/353420?v=3","gravatar_id":"","url":"https://api.github.com/users/LordAlexWorks","html_url":"https://github.com/LordAlexWorks","followers_url":"https://api.github.com/users/LordAlexWorks/followers","following_url":"https://api.github.com/users/LordAlexWorks/following{/other_user}","gists_url":"https://api.github.com/users/LordAlexWorks/gists{/gist_id}","starred_url":"https://api.github.com/users/LordAlexWorks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordAlexWorks/subscriptions","organizations_url":"https://api.github.com/users/LordAlexWorks/orgs","repos_url":"https://api.github.com/users/LordAlexWorks/repos","events_url":"https://api.github.com/users/LordAlexWorks/events{/privacy}","received_events_url":"https://api.github.com/users/LordAlexWorks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LordAlexWorks/proactives","description":"proactives.services","fork":false,"url":"https://api.github.com/repos/LordAlexWorks/proactives","forks_url":"https://api.github.com/repos/LordAlexWorks/proactives/forks","keys_url":"https://api.github.com/repos/LordAlexWorks/proactives/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LordAlexWorks/proactives/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LordAlexWorks/proactives/teams","hooks_url":"https://api.github.com/repos/LordAlexWorks/proactives/hooks","issue_events_url":"https://api.github.com/repos/LordAlexWorks/proactives/issues/events{/number}","events_url":"https://api.github.com/repos/LordAlexWorks/proactives/events","assignees_url":"https://api.github.com/repos/LordAlexWorks/proactives/assignees{/user}","branches_url":"https://api.github.com/repos/LordAlexWorks/proactives/branches{/branch}","tags_url":"https://api.github.com/repos/LordAlexWorks/proactives/tags","blobs_url":"https://api.github.com/repos/LordAlexWorks/proactives/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LordAlexWorks/proactives/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LordAlexWorks/proactives/git/refs{/sha}","trees_url":"https://api.github.com/repos/LordAlexWorks/proactives/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LordAlexWorks/proactives/statuses/{sha}","languages_url":"https://api.github.com/repos/LordAlexWorks/proactives/languages","stargazers_url":"https://api.github.com/repos/LordAlexWorks/proactives/stargazers","contributors_url":"https://api.github.com/repos/LordAlexWorks/proactives/contributors","subscribers_url":"https://api.github.com/repos/LordAlexWorks/proactives/subscribers","subscription_url":"https://api.github.com/repos/LordAlexWorks/proactives/subscription","commits_url":"https://api.github.com/repos/LordAlexWorks/proactives/commits{/sha}","git_commits_url":"https://api.github.com/repos/LordAlexWorks/proactives/git/commits{/sha}","comments_url":"https://api.github.com/repos/LordAlexWorks/proactives/comments{/number}","issue_comment_url":"https://api.github.com/repos/LordAlexWorks/proactives/issues/comments{/number}","contents_url":"https://api.github.com/repos/LordAlexWorks/proactives/contents/{+path}","compare_url":"https://api.github.com/repos/LordAlexWorks/proactives/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LordAlexWorks/proactives/merges","archive_url":"https://api.github.com/repos/LordAlexWorks/proactives/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LordAlexWorks/proactives/downloads","issues_url":"https://api.github.com/repos/LordAlexWorks/proactives/issues{/number}","pulls_url":"https://api.github.com/repos/LordAlexWorks/proactives/pulls{/number}","milestones_url":"https://api.github.com/repos/LordAlexWorks/proactives/milestones{/number}","notifications_url":"https://api.github.com/repos/LordAlexWorks/proactives/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LordAlexWorks/proactives/labels{/name}","releases_url":"https://api.github.com/repos/LordAlexWorks/proactives/releases{/id}","deployments_url":"https://api.github.com/repos/LordAlexWorks/proactives/deployments","created_at":"2015-01-17T20:44:45Z","updated_at":"2016-05-02T15:34:37Z","pushed_at":"2016-05-04T10:35:30Z","git_url":"git://github.com/LordAlexWorks/proactives.git","ssh_url":"git@github.com:LordAlexWorks/proactives.git","clone_url":"https://github.com/LordAlexWorks/proactives.git","svn_url":"https://github.com/LordAlexWorks/proactives","homepage":"http://www.proactives.services","size":11718,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":118,"forks":0,"open_issues":118,"watchers":0,"default_branch":"master"}},"base":{"label":"LordAlexWorks:master","ref":"master","sha":"ce1d1c84dd0e70239836a8c3469ca6c6611c1b2d","user":{"login":"LordAlexWorks","id":353420,"avatar_url":"https://avatars.githubusercontent.com/u/353420?v=3","gravatar_id":"","url":"https://api.github.com/users/LordAlexWorks","html_url":"https://github.com/LordAlexWorks","followers_url":"https://api.github.com/users/LordAlexWorks/followers","following_url":"https://api.github.com/users/LordAlexWorks/following{/other_user}","gists_url":"https://api.github.com/users/LordAlexWorks/gists{/gist_id}","starred_url":"https://api.github.com/users/LordAlexWorks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordAlexWorks/subscriptions","organizations_url":"https://api.github.com/users/LordAlexWorks/orgs","repos_url":"https://api.github.com/users/LordAlexWorks/repos","events_url":"https://api.github.com/users/LordAlexWorks/events{/privacy}","received_events_url":"https://api.github.com/users/LordAlexWorks/received_events","type":"Organization","site_admin":false},"repo":{"id":29404980,"name":"proactives","full_name":"LordAlexWorks/proactives","owner":{"login":"LordAlexWorks","id":353420,"avatar_url":"https://avatars.githubusercontent.com/u/353420?v=3","gravatar_id":"","url":"https://api.github.com/users/LordAlexWorks","html_url":"https://github.com/LordAlexWorks","followers_url":"https://api.github.com/users/LordAlexWorks/followers","following_url":"https://api.github.com/users/LordAlexWorks/following{/other_user}","gists_url":"https://api.github.com/users/LordAlexWorks/gists{/gist_id}","starred_url":"https://api.github.com/users/LordAlexWorks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordAlexWorks/subscriptions","organizations_url":"https://api.github.com/users/LordAlexWorks/orgs","repos_url":"https://api.github.com/users/LordAlexWorks/repos","events_url":"https://api.github.com/users/LordAlexWorks/events{/privacy}","received_events_url":"https://api.github.com/users/LordAlexWorks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LordAlexWorks/proactives","description":"proactives.services","fork":false,"url":"https://api.github.com/repos/LordAlexWorks/proactives","forks_url":"https://api.github.com/repos/LordAlexWorks/proactives/forks","keys_url":"https://api.github.com/repos/LordAlexWorks/proactives/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LordAlexWorks/proactives/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LordAlexWorks/proactives/teams","hooks_url":"https://api.github.com/repos/LordAlexWorks/proactives/hooks","issue_events_url":"https://api.github.com/repos/LordAlexWorks/proactives/issues/events{/number}","events_url":"https://api.github.com/repos/LordAlexWorks/proactives/events","assignees_url":"https://api.github.com/repos/LordAlexWorks/proactives/assignees{/user}","branches_url":"https://api.github.com/repos/LordAlexWorks/proactives/branches{/branch}","tags_url":"https://api.github.com/repos/LordAlexWorks/proactives/tags","blobs_url":"https://api.github.com/repos/LordAlexWorks/proactives/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LordAlexWorks/proactives/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LordAlexWorks/proactives/git/refs{/sha}","trees_url":"https://api.github.com/repos/LordAlexWorks/proactives/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LordAlexWorks/proactives/statuses/{sha}","languages_url":"https://api.github.com/repos/LordAlexWorks/proactives/languages","stargazers_url":"https://api.github.com/repos/LordAlexWorks/proactives/stargazers","contributors_url":"https://api.github.com/repos/LordAlexWorks/proactives/contributors","subscribers_url":"https://api.github.com/repos/LordAlexWorks/proactives/subscribers","subscription_url":"https://api.github.com/repos/LordAlexWorks/proactives/subscription","commits_url":"https://api.github.com/repos/LordAlexWorks/proactives/commits{/sha}","git_commits_url":"https://api.github.com/repos/LordAlexWorks/proactives/git/commits{/sha}","comments_url":"https://api.github.com/repos/LordAlexWorks/proactives/comments{/number}","issue_comment_url":"https://api.github.com/repos/LordAlexWorks/proactives/issues/comments{/number}","contents_url":"https://api.github.com/repos/LordAlexWorks/proactives/contents/{+path}","compare_url":"https://api.github.com/repos/LordAlexWorks/proactives/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LordAlexWorks/proactives/merges","archive_url":"https://api.github.com/repos/LordAlexWorks/proactives/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LordAlexWorks/proactives/downloads","issues_url":"https://api.github.com/repos/LordAlexWorks/proactives/issues{/number}","pulls_url":"https://api.github.com/repos/LordAlexWorks/proactives/pulls{/number}","milestones_url":"https://api.github.com/repos/LordAlexWorks/proactives/milestones{/number}","notifications_url":"https://api.github.com/repos/LordAlexWorks/proactives/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LordAlexWorks/proactives/labels{/name}","releases_url":"https://api.github.com/repos/LordAlexWorks/proactives/releases{/id}","deployments_url":"https://api.github.com/repos/LordAlexWorks/proactives/deployments","created_at":"2015-01-17T20:44:45Z","updated_at":"2016-05-02T15:34:37Z","pushed_at":"2016-05-04T10:35:30Z","git_url":"git://github.com/LordAlexWorks/proactives.git","ssh_url":"git@github.com:LordAlexWorks/proactives.git","clone_url":"https://github.com/LordAlexWorks/proactives.git","svn_url":"https://github.com/LordAlexWorks/proactives","homepage":"http://www.proactives.services","size":11718,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":118,"forks":0,"open_issues":118,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/1146"},"html":{"href":"https://github.com/LordAlexWorks/proactives/pull/1146"},"issue":{"href":"https://api.github.com/repos/LordAlexWorks/proactives/issues/1146"},"comments":{"href":"https://api.github.com/repos/LordAlexWorks/proactives/issues/1146/comments"},"review_comments":{"href":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/1146/comments"},"review_comment":{"href":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LordAlexWorks/proactives/pulls/1146/commits"},"statuses":{"href":"https://api.github.com/repos/LordAlexWorks/proactives/statuses/24c7ad718cd3599f82b3494e2daec2145a0c9195"}}}}