{"action":"created","comment":{"url":"https://api.github.com/repos/karmahrm/karmahrm/pulls/comments/64149994","id":64149994,"diff_hunk":"@@ -1,10 +1,39 @@\n module Api\n   module V1\n     class EmployeesController < ApiController\n-      before_action :doorkeeper_authorize!\n+      # before_action :doorkeeper_authorize!\n+       # after_filter :render_response, unless: -> { @results.nil? }\n       def index\n-        render json: Employee.active\n+        @results = Employee.active\n+        render_response\n       end\n+\n+      def show\n+      \t@results = Employee.find params[:id]\n+      \trender_response\n+      end\n+\n+      def edit\n+      \t@results = Employee.find params[:id]\n+      end\n+\n+      def update\n+      \tresponce = Employee.update_attributes(params[:employee])","path":"app/controllers/api/v1/employees_controller.rb","position":23,"original_position":23,"commit_id":"0062c188a643a290c2f9c29106aa7a50a23559ff","original_commit_id":"0062c188a643a290c2f9c29106aa7a50a23559ff","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":"Use 2 (not 1) spaces for indentation.<br>Tab detected.","created_at":"2016-05-22T13:42:48Z","updated_at":"2016-05-22T13:42:48Z","html_url":"https://github.com/karmahrm/karmahrm/pull/3#discussion_r64149994","pull_request_url":"https://api.github.com/repos/karmahrm/karmahrm/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/karmahrm/karmahrm/pulls/comments/64149994"},"html":{"href":"https://github.com/karmahrm/karmahrm/pull/3#discussion_r64149994"},"pull_request":{"href":"https://api.github.com/repos/karmahrm/karmahrm/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/karmahrm/karmahrm/pulls/3","id":70977381,"html_url":"https://github.com/karmahrm/karmahrm/pull/3","diff_url":"https://github.com/karmahrm/karmahrm/pull/3.diff","patch_url":"https://github.com/karmahrm/karmahrm/pull/3.patch","issue_url":"https://api.github.com/repos/karmahrm/karmahrm/issues/3","number":3,"state":"open","locked":false,"title":"ADDEED API  For employee With out test","user":{"login":"sobinsunny","id":1903075,"avatar_url":"https://avatars.githubusercontent.com/u/1903075?v=3","gravatar_id":"","url":"https://api.github.com/users/sobinsunny","html_url":"https://github.com/sobinsunny","followers_url":"https://api.github.com/users/sobinsunny/followers","following_url":"https://api.github.com/users/sobinsunny/following{/other_user}","gists_url":"https://api.github.com/users/sobinsunny/gists{/gist_id}","starred_url":"https://api.github.com/users/sobinsunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sobinsunny/subscriptions","organizations_url":"https://api.github.com/users/sobinsunny/orgs","repos_url":"https://api.github.com/users/sobinsunny/repos","events_url":"https://api.github.com/users/sobinsunny/events{/privacy}","received_events_url":"https://api.github.com/users/sobinsunny/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-22T13:42:44Z","updated_at":"2016-05-22T13:42:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/karmahrm/karmahrm/pulls/3/commits","review_comments_url":"https://api.github.com/repos/karmahrm/karmahrm/pulls/3/comments","review_comment_url":"https://api.github.com/repos/karmahrm/karmahrm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/karmahrm/karmahrm/issues/3/comments","statuses_url":"https://api.github.com/repos/karmahrm/karmahrm/statuses/0062c188a643a290c2f9c29106aa7a50a23559ff","head":{"label":"sobinsunny:master","ref":"master","sha":"0062c188a643a290c2f9c29106aa7a50a23559ff","user":{"login":"sobinsunny","id":1903075,"avatar_url":"https://avatars.githubusercontent.com/u/1903075?v=3","gravatar_id":"","url":"https://api.github.com/users/sobinsunny","html_url":"https://github.com/sobinsunny","followers_url":"https://api.github.com/users/sobinsunny/followers","following_url":"https://api.github.com/users/sobinsunny/following{/other_user}","gists_url":"https://api.github.com/users/sobinsunny/gists{/gist_id}","starred_url":"https://api.github.com/users/sobinsunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sobinsunny/subscriptions","organizations_url":"https://api.github.com/users/sobinsunny/orgs","repos_url":"https://api.github.com/users/sobinsunny/repos","events_url":"https://api.github.com/users/sobinsunny/events{/privacy}","received_events_url":"https://api.github.com/users/sobinsunny/received_events","type":"User","site_admin":false},"repo":{"id":58252566,"name":"karmahrm","full_name":"sobinsunny/karmahrm","owner":{"login":"sobinsunny","id":1903075,"avatar_url":"https://avatars.githubusercontent.com/u/1903075?v=3","gravatar_id":"","url":"https://api.github.com/users/sobinsunny","html_url":"https://github.com/sobinsunny","followers_url":"https://api.github.com/users/sobinsunny/followers","following_url":"https://api.github.com/users/sobinsunny/following{/other_user}","gists_url":"https://api.github.com/users/sobinsunny/gists{/gist_id}","starred_url":"https://api.github.com/users/sobinsunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sobinsunny/subscriptions","organizations_url":"https://api.github.com/users/sobinsunny/orgs","repos_url":"https://api.github.com/users/sobinsunny/repos","events_url":"https://api.github.com/users/sobinsunny/events{/privacy}","received_events_url":"https://api.github.com/users/sobinsunny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sobinsunny/karmahrm","description":"Human resource management system in rails","fork":true,"url":"https://api.github.com/repos/sobinsunny/karmahrm","forks_url":"https://api.github.com/repos/sobinsunny/karmahrm/forks","keys_url":"https://api.github.com/repos/sobinsunny/karmahrm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sobinsunny/karmahrm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sobinsunny/karmahrm/teams","hooks_url":"https://api.github.com/repos/sobinsunny/karmahrm/hooks","issue_events_url":"https://api.github.com/repos/sobinsunny/karmahrm/issues/events{/number}","events_url":"https://api.github.com/repos/sobinsunny/karmahrm/events","assignees_url":"https://api.github.com/repos/sobinsunny/karmahrm/assignees{/user}","branches_url":"https://api.github.com/repos/sobinsunny/karmahrm/branches{/branch}","tags_url":"https://api.github.com/repos/sobinsunny/karmahrm/tags","blobs_url":"https://api.github.com/repos/sobinsunny/karmahrm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sobinsunny/karmahrm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sobinsunny/karmahrm/git/refs{/sha}","trees_url":"https://api.github.com/repos/sobinsunny/karmahrm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sobinsunny/karmahrm/statuses/{sha}","languages_url":"https://api.github.com/repos/sobinsunny/karmahrm/languages","stargazers_url":"https://api.github.com/repos/sobinsunny/karmahrm/stargazers","contributors_url":"https://api.github.com/repos/sobinsunny/karmahrm/contributors","subscribers_url":"https://api.github.com/repos/sobinsunny/karmahrm/subscribers","subscription_url":"https://api.github.com/repos/sobinsunny/karmahrm/subscription","commits_url":"https://api.github.com/repos/sobinsunny/karmahrm/commits{/sha}","git_commits_url":"https://api.github.com/repos/sobinsunny/karmahrm/git/commits{/sha}","comments_url":"https://api.github.com/repos/sobinsunny/karmahrm/comments{/number}","issue_comment_url":"https://api.github.com/repos/sobinsunny/karmahrm/issues/comments{/number}","contents_url":"https://api.github.com/repos/sobinsunny/karmahrm/contents/{+path}","compare_url":"https://api.github.com/repos/sobinsunny/karmahrm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sobinsunny/karmahrm/merges","archive_url":"https://api.github.com/repos/sobinsunny/karmahrm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sobinsunny/karmahrm/downloads","issues_url":"https://api.github.com/repos/sobinsunny/karmahrm/issues{/number}","pulls_url":"https://api.github.com/repos/sobinsunny/karmahrm/pulls{/number}","milestones_url":"https://api.github.com/repos/sobinsunny/karmahrm/milestones{/number}","notifications_url":"https://api.github.com/repos/sobinsunny/karmahrm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sobinsunny/karmahrm/labels{/name}","releases_url":"https://api.github.com/repos/sobinsunny/karmahrm/releases{/id}","deployments_url":"https://api.github.com/repos/sobinsunny/karmahrm/deployments","created_at":"2016-05-07T06:20:00Z","updated_at":"2016-05-07T06:20:01Z","pushed_at":"2016-05-08T09:08:16Z","git_url":"git://github.com/sobinsunny/karmahrm.git","ssh_url":"git@github.com:sobinsunny/karmahrm.git","clone_url":"https://github.com/sobinsunny/karmahrm.git","svn_url":"https://github.com/sobinsunny/karmahrm","homepage":"http://karmahrm.herokuapp.com/","size":225,"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":"karmahrm:master","ref":"master","sha":"542c3ee50b0836a9c4bdc542191f0458a21b8e1e","user":{"login":"karmahrm","id":17687876,"avatar_url":"https://avatars.githubusercontent.com/u/17687876?v=3","gravatar_id":"","url":"https://api.github.com/users/karmahrm","html_url":"https://github.com/karmahrm","followers_url":"https://api.github.com/users/karmahrm/followers","following_url":"https://api.github.com/users/karmahrm/following{/other_user}","gists_url":"https://api.github.com/users/karmahrm/gists{/gist_id}","starred_url":"https://api.github.com/users/karmahrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karmahrm/subscriptions","organizations_url":"https://api.github.com/users/karmahrm/orgs","repos_url":"https://api.github.com/users/karmahrm/repos","events_url":"https://api.github.com/users/karmahrm/events{/privacy}","received_events_url":"https://api.github.com/users/karmahrm/received_events","type":"Organization","site_admin":false},"repo":{"id":53261542,"name":"karmahrm","full_name":"karmahrm/karmahrm","owner":{"login":"karmahrm","id":17687876,"avatar_url":"https://avatars.githubusercontent.com/u/17687876?v=3","gravatar_id":"","url":"https://api.github.com/users/karmahrm","html_url":"https://github.com/karmahrm","followers_url":"https://api.github.com/users/karmahrm/followers","following_url":"https://api.github.com/users/karmahrm/following{/other_user}","gists_url":"https://api.github.com/users/karmahrm/gists{/gist_id}","starred_url":"https://api.github.com/users/karmahrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karmahrm/subscriptions","organizations_url":"https://api.github.com/users/karmahrm/orgs","repos_url":"https://api.github.com/users/karmahrm/repos","events_url":"https://api.github.com/users/karmahrm/events{/privacy}","received_events_url":"https://api.github.com/users/karmahrm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/karmahrm/karmahrm","description":"Human resource management system in rails","fork":false,"url":"https://api.github.com/repos/karmahrm/karmahrm","forks_url":"https://api.github.com/repos/karmahrm/karmahrm/forks","keys_url":"https://api.github.com/repos/karmahrm/karmahrm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karmahrm/karmahrm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karmahrm/karmahrm/teams","hooks_url":"https://api.github.com/repos/karmahrm/karmahrm/hooks","issue_events_url":"https://api.github.com/repos/karmahrm/karmahrm/issues/events{/number}","events_url":"https://api.github.com/repos/karmahrm/karmahrm/events","assignees_url":"https://api.github.com/repos/karmahrm/karmahrm/assignees{/user}","branches_url":"https://api.github.com/repos/karmahrm/karmahrm/branches{/branch}","tags_url":"https://api.github.com/repos/karmahrm/karmahrm/tags","blobs_url":"https://api.github.com/repos/karmahrm/karmahrm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karmahrm/karmahrm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karmahrm/karmahrm/git/refs{/sha}","trees_url":"https://api.github.com/repos/karmahrm/karmahrm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karmahrm/karmahrm/statuses/{sha}","languages_url":"https://api.github.com/repos/karmahrm/karmahrm/languages","stargazers_url":"https://api.github.com/repos/karmahrm/karmahrm/stargazers","contributors_url":"https://api.github.com/repos/karmahrm/karmahrm/contributors","subscribers_url":"https://api.github.com/repos/karmahrm/karmahrm/subscribers","subscription_url":"https://api.github.com/repos/karmahrm/karmahrm/subscription","commits_url":"https://api.github.com/repos/karmahrm/karmahrm/commits{/sha}","git_commits_url":"https://api.github.com/repos/karmahrm/karmahrm/git/commits{/sha}","comments_url":"https://api.github.com/repos/karmahrm/karmahrm/comments{/number}","issue_comment_url":"https://api.github.com/repos/karmahrm/karmahrm/issues/comments{/number}","contents_url":"https://api.github.com/repos/karmahrm/karmahrm/contents/{+path}","compare_url":"https://api.github.com/repos/karmahrm/karmahrm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karmahrm/karmahrm/merges","archive_url":"https://api.github.com/repos/karmahrm/karmahrm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karmahrm/karmahrm/downloads","issues_url":"https://api.github.com/repos/karmahrm/karmahrm/issues{/number}","pulls_url":"https://api.github.com/repos/karmahrm/karmahrm/pulls{/number}","milestones_url":"https://api.github.com/repos/karmahrm/karmahrm/milestones{/number}","notifications_url":"https://api.github.com/repos/karmahrm/karmahrm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karmahrm/karmahrm/labels{/name}","releases_url":"https://api.github.com/repos/karmahrm/karmahrm/releases{/id}","deployments_url":"https://api.github.com/repos/karmahrm/karmahrm/deployments","created_at":"2016-03-06T15:25:56Z","updated_at":"2016-05-01T09:13:44Z","pushed_at":"2016-05-22T13:42:44Z","git_url":"git://github.com/karmahrm/karmahrm.git","ssh_url":"git@github.com:karmahrm/karmahrm.git","clone_url":"https://github.com/karmahrm/karmahrm.git","svn_url":"https://github.com/karmahrm/karmahrm","homepage":"http://karmahrm.herokuapp.com/","size":213,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/karmahrm/karmahrm/pulls/3"},"html":{"href":"https://github.com/karmahrm/karmahrm/pull/3"},"issue":{"href":"https://api.github.com/repos/karmahrm/karmahrm/issues/3"},"comments":{"href":"https://api.github.com/repos/karmahrm/karmahrm/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/karmahrm/karmahrm/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/karmahrm/karmahrm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/karmahrm/karmahrm/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/karmahrm/karmahrm/statuses/0062c188a643a290c2f9c29106aa7a50a23559ff"}}}}
{"actor":{"display_login":"houndci-bot"}}