{"action":"created","comment":{"url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/comments/42943447","id":42943447,"diff_hunk":"@@ -0,0 +1,25 @@\n+module V1\n+  class SettingsSetsController < ApplicationController\n+    before_action :authenticate_user!\n+\n+    def show\n+      render json: current_user.settings_set","path":"app/controllers/v1/settings_sets_controller.rb","position":6,"original_position":6,"commit_id":"aa0e02c6c82ec1016a0426ccc2ff88b3e9c89d1f","original_commit_id":"aa0e02c6c82ec1016a0426ccc2ff88b3e9c89d1f","user":{"login":"KrezelewskiM","id":8228477,"avatar_url":"https://avatars.githubusercontent.com/u/8228477?v=3","gravatar_id":"","url":"https://api.github.com/users/KrezelewskiM","html_url":"https://github.com/KrezelewskiM","followers_url":"https://api.github.com/users/KrezelewskiM/followers","following_url":"https://api.github.com/users/KrezelewskiM/following{/other_user}","gists_url":"https://api.github.com/users/KrezelewskiM/gists{/gist_id}","starred_url":"https://api.github.com/users/KrezelewskiM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrezelewskiM/subscriptions","organizations_url":"https://api.github.com/users/KrezelewskiM/orgs","repos_url":"https://api.github.com/users/KrezelewskiM/repos","events_url":"https://api.github.com/users/KrezelewskiM/events{/privacy}","received_events_url":"https://api.github.com/users/KrezelewskiM/received_events","type":"User","site_admin":false},"body":"do rozważenia - metoda prywatna zwaracająca current_user.settings_set, bo się to powtarza","created_at":"2015-10-25T10:31:52Z","updated_at":"2015-10-25T10:31:52Z","html_url":"https://github.com/aghinz2015/foram-api/pull/13#discussion_r42943447","pull_request_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/comments/42943447"},"html":{"href":"https://github.com/aghinz2015/foram-api/pull/13#discussion_r42943447"},"pull_request":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/13","id":48132156,"html_url":"https://github.com/aghinz2015/foram-api/pull/13","diff_url":"https://github.com/aghinz2015/foram-api/pull/13.diff","patch_url":"https://github.com/aghinz2015/foram-api/pull/13.patch","issue_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/13","number":13,"state":"open","locked":false,"title":"Basic user settings","user":{"login":"MaciejGawel","id":8216581,"avatar_url":"https://avatars.githubusercontent.com/u/8216581?v=3","gravatar_id":"","url":"https://api.github.com/users/MaciejGawel","html_url":"https://github.com/MaciejGawel","followers_url":"https://api.github.com/users/MaciejGawel/followers","following_url":"https://api.github.com/users/MaciejGawel/following{/other_user}","gists_url":"https://api.github.com/users/MaciejGawel/gists{/gist_id}","starred_url":"https://api.github.com/users/MaciejGawel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaciejGawel/subscriptions","organizations_url":"https://api.github.com/users/MaciejGawel/orgs","repos_url":"https://api.github.com/users/MaciejGawel/repos","events_url":"https://api.github.com/users/MaciejGawel/events{/privacy}","received_events_url":"https://api.github.com/users/MaciejGawel/received_events","type":"User","site_admin":false},"body":"- Endpoint ustawień użytkownika\r\n  - precyzja liczb\r\n  - mapowanie nazw\r\n- Bugfix przy uwierzytelnianiu użytkownika","created_at":"2015-10-19T21:58:06Z","updated_at":"2015-10-25T10:31:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a2ce1228dbfbc661d8044905269110be1d4f3398","assignee":{"login":"KrezelewskiM","id":8228477,"avatar_url":"https://avatars.githubusercontent.com/u/8228477?v=3","gravatar_id":"","url":"https://api.github.com/users/KrezelewskiM","html_url":"https://github.com/KrezelewskiM","followers_url":"https://api.github.com/users/KrezelewskiM/followers","following_url":"https://api.github.com/users/KrezelewskiM/following{/other_user}","gists_url":"https://api.github.com/users/KrezelewskiM/gists{/gist_id}","starred_url":"https://api.github.com/users/KrezelewskiM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrezelewskiM/subscriptions","organizations_url":"https://api.github.com/users/KrezelewskiM/orgs","repos_url":"https://api.github.com/users/KrezelewskiM/repos","events_url":"https://api.github.com/users/KrezelewskiM/events{/privacy}","received_events_url":"https://api.github.com/users/KrezelewskiM/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/13/commits","review_comments_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/13/comments","review_comment_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/13/comments","statuses_url":"https://api.github.com/repos/aghinz2015/foram-api/statuses/aa0e02c6c82ec1016a0426ccc2ff88b3e9c89d1f","head":{"label":"aghinz2015:142-settings","ref":"142-settings","sha":"aa0e02c6c82ec1016a0426ccc2ff88b3e9c89d1f","user":{"login":"aghinz2015","id":13819061,"avatar_url":"https://avatars.githubusercontent.com/u/13819061?v=3","gravatar_id":"","url":"https://api.github.com/users/aghinz2015","html_url":"https://github.com/aghinz2015","followers_url":"https://api.github.com/users/aghinz2015/followers","following_url":"https://api.github.com/users/aghinz2015/following{/other_user}","gists_url":"https://api.github.com/users/aghinz2015/gists{/gist_id}","starred_url":"https://api.github.com/users/aghinz2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghinz2015/subscriptions","organizations_url":"https://api.github.com/users/aghinz2015/orgs","repos_url":"https://api.github.com/users/aghinz2015/repos","events_url":"https://api.github.com/users/aghinz2015/events{/privacy}","received_events_url":"https://api.github.com/users/aghinz2015/received_events","type":"Organization","site_admin":false},"repo":{"id":40816283,"name":"foram-api","full_name":"aghinz2015/foram-api","owner":{"login":"aghinz2015","id":13819061,"avatar_url":"https://avatars.githubusercontent.com/u/13819061?v=3","gravatar_id":"","url":"https://api.github.com/users/aghinz2015","html_url":"https://github.com/aghinz2015","followers_url":"https://api.github.com/users/aghinz2015/followers","following_url":"https://api.github.com/users/aghinz2015/following{/other_user}","gists_url":"https://api.github.com/users/aghinz2015/gists{/gist_id}","starred_url":"https://api.github.com/users/aghinz2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghinz2015/subscriptions","organizations_url":"https://api.github.com/users/aghinz2015/orgs","repos_url":"https://api.github.com/users/aghinz2015/repos","events_url":"https://api.github.com/users/aghinz2015/events{/privacy}","received_events_url":"https://api.github.com/users/aghinz2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aghinz2015/foram-api","description":"Foram API","fork":false,"url":"https://api.github.com/repos/aghinz2015/foram-api","forks_url":"https://api.github.com/repos/aghinz2015/foram-api/forks","keys_url":"https://api.github.com/repos/aghinz2015/foram-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aghinz2015/foram-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aghinz2015/foram-api/teams","hooks_url":"https://api.github.com/repos/aghinz2015/foram-api/hooks","issue_events_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/events{/number}","events_url":"https://api.github.com/repos/aghinz2015/foram-api/events","assignees_url":"https://api.github.com/repos/aghinz2015/foram-api/assignees{/user}","branches_url":"https://api.github.com/repos/aghinz2015/foram-api/branches{/branch}","tags_url":"https://api.github.com/repos/aghinz2015/foram-api/tags","blobs_url":"https://api.github.com/repos/aghinz2015/foram-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aghinz2015/foram-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aghinz2015/foram-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/aghinz2015/foram-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aghinz2015/foram-api/statuses/{sha}","languages_url":"https://api.github.com/repos/aghinz2015/foram-api/languages","stargazers_url":"https://api.github.com/repos/aghinz2015/foram-api/stargazers","contributors_url":"https://api.github.com/repos/aghinz2015/foram-api/contributors","subscribers_url":"https://api.github.com/repos/aghinz2015/foram-api/subscribers","subscription_url":"https://api.github.com/repos/aghinz2015/foram-api/subscription","commits_url":"https://api.github.com/repos/aghinz2015/foram-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/aghinz2015/foram-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/aghinz2015/foram-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/aghinz2015/foram-api/contents/{+path}","compare_url":"https://api.github.com/repos/aghinz2015/foram-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aghinz2015/foram-api/merges","archive_url":"https://api.github.com/repos/aghinz2015/foram-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aghinz2015/foram-api/downloads","issues_url":"https://api.github.com/repos/aghinz2015/foram-api/issues{/number}","pulls_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls{/number}","milestones_url":"https://api.github.com/repos/aghinz2015/foram-api/milestones{/number}","notifications_url":"https://api.github.com/repos/aghinz2015/foram-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aghinz2015/foram-api/labels{/name}","releases_url":"https://api.github.com/repos/aghinz2015/foram-api/releases{/id}","created_at":"2015-08-16T12:33:03Z","updated_at":"2015-08-16T12:47:13Z","pushed_at":"2015-10-24T18:54:35Z","git_url":"git://github.com/aghinz2015/foram-api.git","ssh_url":"git@github.com:aghinz2015/foram-api.git","clone_url":"https://github.com/aghinz2015/foram-api.git","svn_url":"https://github.com/aghinz2015/foram-api","homepage":null,"size":500,"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":"development"}},"base":{"label":"aghinz2015:development","ref":"development","sha":"107b02addebaebb951daf8e89bba85eac840cdf6","user":{"login":"aghinz2015","id":13819061,"avatar_url":"https://avatars.githubusercontent.com/u/13819061?v=3","gravatar_id":"","url":"https://api.github.com/users/aghinz2015","html_url":"https://github.com/aghinz2015","followers_url":"https://api.github.com/users/aghinz2015/followers","following_url":"https://api.github.com/users/aghinz2015/following{/other_user}","gists_url":"https://api.github.com/users/aghinz2015/gists{/gist_id}","starred_url":"https://api.github.com/users/aghinz2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghinz2015/subscriptions","organizations_url":"https://api.github.com/users/aghinz2015/orgs","repos_url":"https://api.github.com/users/aghinz2015/repos","events_url":"https://api.github.com/users/aghinz2015/events{/privacy}","received_events_url":"https://api.github.com/users/aghinz2015/received_events","type":"Organization","site_admin":false},"repo":{"id":40816283,"name":"foram-api","full_name":"aghinz2015/foram-api","owner":{"login":"aghinz2015","id":13819061,"avatar_url":"https://avatars.githubusercontent.com/u/13819061?v=3","gravatar_id":"","url":"https://api.github.com/users/aghinz2015","html_url":"https://github.com/aghinz2015","followers_url":"https://api.github.com/users/aghinz2015/followers","following_url":"https://api.github.com/users/aghinz2015/following{/other_user}","gists_url":"https://api.github.com/users/aghinz2015/gists{/gist_id}","starred_url":"https://api.github.com/users/aghinz2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghinz2015/subscriptions","organizations_url":"https://api.github.com/users/aghinz2015/orgs","repos_url":"https://api.github.com/users/aghinz2015/repos","events_url":"https://api.github.com/users/aghinz2015/events{/privacy}","received_events_url":"https://api.github.com/users/aghinz2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aghinz2015/foram-api","description":"Foram API","fork":false,"url":"https://api.github.com/repos/aghinz2015/foram-api","forks_url":"https://api.github.com/repos/aghinz2015/foram-api/forks","keys_url":"https://api.github.com/repos/aghinz2015/foram-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aghinz2015/foram-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aghinz2015/foram-api/teams","hooks_url":"https://api.github.com/repos/aghinz2015/foram-api/hooks","issue_events_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/events{/number}","events_url":"https://api.github.com/repos/aghinz2015/foram-api/events","assignees_url":"https://api.github.com/repos/aghinz2015/foram-api/assignees{/user}","branches_url":"https://api.github.com/repos/aghinz2015/foram-api/branches{/branch}","tags_url":"https://api.github.com/repos/aghinz2015/foram-api/tags","blobs_url":"https://api.github.com/repos/aghinz2015/foram-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aghinz2015/foram-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aghinz2015/foram-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/aghinz2015/foram-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aghinz2015/foram-api/statuses/{sha}","languages_url":"https://api.github.com/repos/aghinz2015/foram-api/languages","stargazers_url":"https://api.github.com/repos/aghinz2015/foram-api/stargazers","contributors_url":"https://api.github.com/repos/aghinz2015/foram-api/contributors","subscribers_url":"https://api.github.com/repos/aghinz2015/foram-api/subscribers","subscription_url":"https://api.github.com/repos/aghinz2015/foram-api/subscription","commits_url":"https://api.github.com/repos/aghinz2015/foram-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/aghinz2015/foram-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/aghinz2015/foram-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/aghinz2015/foram-api/contents/{+path}","compare_url":"https://api.github.com/repos/aghinz2015/foram-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aghinz2015/foram-api/merges","archive_url":"https://api.github.com/repos/aghinz2015/foram-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aghinz2015/foram-api/downloads","issues_url":"https://api.github.com/repos/aghinz2015/foram-api/issues{/number}","pulls_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls{/number}","milestones_url":"https://api.github.com/repos/aghinz2015/foram-api/milestones{/number}","notifications_url":"https://api.github.com/repos/aghinz2015/foram-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aghinz2015/foram-api/labels{/name}","releases_url":"https://api.github.com/repos/aghinz2015/foram-api/releases{/id}","created_at":"2015-08-16T12:33:03Z","updated_at":"2015-08-16T12:47:13Z","pushed_at":"2015-10-24T18:54:35Z","git_url":"git://github.com/aghinz2015/foram-api.git","ssh_url":"git@github.com:aghinz2015/foram-api.git","clone_url":"https://github.com/aghinz2015/foram-api.git","svn_url":"https://github.com/aghinz2015/foram-api","homepage":null,"size":500,"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":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/13"},"html":{"href":"https://github.com/aghinz2015/foram-api/pull/13"},"issue":{"href":"https://api.github.com/repos/aghinz2015/foram-api/issues/13"},"comments":{"href":"https://api.github.com/repos/aghinz2015/foram-api/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/aghinz2015/foram-api/statuses/aa0e02c6c82ec1016a0426ccc2ff88b3e9c89d1f"}}}}