{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/pulls/19","id":27430695,"html_url":"https://github.com/piya23300/acts_as_commentable_more/pull/19","diff_url":"https://github.com/piya23300/acts_as_commentable_more/pull/19.diff","patch_url":"https://github.com/piya23300/acts_as_commentable_more/pull/19.patch","issue_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/issues/19","number":19,"state":"closed","locked":false,"title":"add methods for add role comment","user":{"login":"piya23300","id":4598861,"avatar_url":"https://avatars.githubusercontent.com/u/4598861?v=3","gravatar_id":"","url":"https://api.github.com/users/piya23300","html_url":"https://github.com/piya23300","followers_url":"https://api.github.com/users/piya23300/followers","following_url":"https://api.github.com/users/piya23300/following{/other_user}","gists_url":"https://api.github.com/users/piya23300/gists{/gist_id}","starred_url":"https://api.github.com/users/piya23300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piya23300/subscriptions","organizations_url":"https://api.github.com/users/piya23300/orgs","repos_url":"https://api.github.com/users/piya23300/repos","events_url":"https://api.github.com/users/piya23300/events{/privacy}","received_events_url":"https://api.github.com/users/piya23300/received_events","type":"User","site_admin":false},"body":"```\r\nclass Post < ActiveRecord::Base\r\n  acts_as_commentable \r\nend\r\n\r\n```\r\n\r\n```\r\npost.comments #<ActiveRecord::Associations::CollectionProxy []>\r\npost.add_comment #<Comment>\r\n```\r\n\r\n***\r\n\r\n```\r\nclass Note < ActiveRecord::Base\r\n  acts_as_commentable types: [private: public]\r\nend\r\n\r\n```\r\n\r\n```\r\npost.private_comments #<ActiveRecord::Associations::CollectionProxy []>\r\npost.add_private_comment #<Comment>\r\n```","created_at":"2015-01-15T14:13:18Z","updated_at":"2015-01-15T14:30:44Z","closed_at":"2015-01-15T14:30:44Z","merged_at":"2015-01-15T14:30:44Z","merge_commit_sha":"5242ccdb99ec16b6d24f49f4a808bfc3a60d41cb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/pulls/19/commits","review_comments_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/pulls/19/comments","review_comment_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/pulls/comments/{number}","comments_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/issues/19/comments","statuses_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/statuses/fb7e01ddc7d079c916f95c2d144e1e3665d8b8d4","head":{"label":"piya23300:feature/method-to-add-role-comments","ref":"feature/method-to-add-role-comments","sha":"fb7e01ddc7d079c916f95c2d144e1e3665d8b8d4","user":{"login":"piya23300","id":4598861,"avatar_url":"https://avatars.githubusercontent.com/u/4598861?v=3","gravatar_id":"","url":"https://api.github.com/users/piya23300","html_url":"https://github.com/piya23300","followers_url":"https://api.github.com/users/piya23300/followers","following_url":"https://api.github.com/users/piya23300/following{/other_user}","gists_url":"https://api.github.com/users/piya23300/gists{/gist_id}","starred_url":"https://api.github.com/users/piya23300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piya23300/subscriptions","organizations_url":"https://api.github.com/users/piya23300/orgs","repos_url":"https://api.github.com/users/piya23300/repos","events_url":"https://api.github.com/users/piya23300/events{/privacy}","received_events_url":"https://api.github.com/users/piya23300/received_events","type":"User","site_admin":false},"repo":{"id":29130393,"name":"acts_as_commentable_more","full_name":"piya23300/acts_as_commentable_more","owner":{"login":"piya23300","id":4598861,"avatar_url":"https://avatars.githubusercontent.com/u/4598861?v=3","gravatar_id":"","url":"https://api.github.com/users/piya23300","html_url":"https://github.com/piya23300","followers_url":"https://api.github.com/users/piya23300/followers","following_url":"https://api.github.com/users/piya23300/following{/other_user}","gists_url":"https://api.github.com/users/piya23300/gists{/gist_id}","starred_url":"https://api.github.com/users/piya23300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piya23300/subscriptions","organizations_url":"https://api.github.com/users/piya23300/orgs","repos_url":"https://api.github.com/users/piya23300/repos","events_url":"https://api.github.com/users/piya23300/events{/privacy}","received_events_url":"https://api.github.com/users/piya23300/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/piya23300/acts_as_commentable_more","description":"","fork":false,"url":"https://api.github.com/repos/piya23300/acts_as_commentable_more","forks_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/forks","keys_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/teams","hooks_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/hooks","issue_events_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/issues/events{/number}","events_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/events","assignees_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/assignees{/user}","branches_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/branches{/branch}","tags_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/tags","blobs_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/git/refs{/sha}","trees_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/statuses/{sha}","languages_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/languages","stargazers_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/stargazers","contributors_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/contributors","subscribers_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/subscribers","subscription_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/subscription","commits_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/commits{/sha}","git_commits_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/git/commits{/sha}","comments_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/comments{/number}","issue_comment_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/issues/comments/{number}","contents_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/contents/{+path}","compare_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/merges","archive_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/downloads","issues_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/issues{/number}","pulls_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/pulls{/number}","milestones_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/milestones{/number}","notifications_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/labels{/name}","releases_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/releases{/id}","created_at":"2015-01-12T10:28:09Z","updated_at":"2015-01-15T10:33:58Z","pushed_at":"2015-01-15T14:30:44Z","git_url":"git://github.com/piya23300/acts_as_commentable_more.git","ssh_url":"git@github.com:piya23300/acts_as_commentable_more.git","clone_url":"https://github.com/piya23300/acts_as_commentable_more.git","svn_url":"https://github.com/piya23300/acts_as_commentable_more","homepage":null,"size":724,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"develop"}},"base":{"label":"piya23300:develop","ref":"develop","sha":"8508a5fb13847543f9922b9f1380244cd3432e81","user":{"login":"piya23300","id":4598861,"avatar_url":"https://avatars.githubusercontent.com/u/4598861?v=3","gravatar_id":"","url":"https://api.github.com/users/piya23300","html_url":"https://github.com/piya23300","followers_url":"https://api.github.com/users/piya23300/followers","following_url":"https://api.github.com/users/piya23300/following{/other_user}","gists_url":"https://api.github.com/users/piya23300/gists{/gist_id}","starred_url":"https://api.github.com/users/piya23300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piya23300/subscriptions","organizations_url":"https://api.github.com/users/piya23300/orgs","repos_url":"https://api.github.com/users/piya23300/repos","events_url":"https://api.github.com/users/piya23300/events{/privacy}","received_events_url":"https://api.github.com/users/piya23300/received_events","type":"User","site_admin":false},"repo":{"id":29130393,"name":"acts_as_commentable_more","full_name":"piya23300/acts_as_commentable_more","owner":{"login":"piya23300","id":4598861,"avatar_url":"https://avatars.githubusercontent.com/u/4598861?v=3","gravatar_id":"","url":"https://api.github.com/users/piya23300","html_url":"https://github.com/piya23300","followers_url":"https://api.github.com/users/piya23300/followers","following_url":"https://api.github.com/users/piya23300/following{/other_user}","gists_url":"https://api.github.com/users/piya23300/gists{/gist_id}","starred_url":"https://api.github.com/users/piya23300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piya23300/subscriptions","organizations_url":"https://api.github.com/users/piya23300/orgs","repos_url":"https://api.github.com/users/piya23300/repos","events_url":"https://api.github.com/users/piya23300/events{/privacy}","received_events_url":"https://api.github.com/users/piya23300/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/piya23300/acts_as_commentable_more","description":"","fork":false,"url":"https://api.github.com/repos/piya23300/acts_as_commentable_more","forks_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/forks","keys_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/teams","hooks_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/hooks","issue_events_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/issues/events{/number}","events_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/events","assignees_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/assignees{/user}","branches_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/branches{/branch}","tags_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/tags","blobs_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/git/refs{/sha}","trees_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/statuses/{sha}","languages_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/languages","stargazers_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/stargazers","contributors_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/contributors","subscribers_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/subscribers","subscription_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/subscription","commits_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/commits{/sha}","git_commits_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/git/commits{/sha}","comments_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/comments{/number}","issue_comment_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/issues/comments/{number}","contents_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/contents/{+path}","compare_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/merges","archive_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/downloads","issues_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/issues{/number}","pulls_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/pulls{/number}","milestones_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/milestones{/number}","notifications_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/labels{/name}","releases_url":"https://api.github.com/repos/piya23300/acts_as_commentable_more/releases{/id}","created_at":"2015-01-12T10:28:09Z","updated_at":"2015-01-15T10:33:58Z","pushed_at":"2015-01-15T14:30:44Z","git_url":"git://github.com/piya23300/acts_as_commentable_more.git","ssh_url":"git@github.com:piya23300/acts_as_commentable_more.git","clone_url":"https://github.com/piya23300/acts_as_commentable_more.git","svn_url":"https://github.com/piya23300/acts_as_commentable_more","homepage":null,"size":724,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/piya23300/acts_as_commentable_more/pulls/19"},"html":{"href":"https://github.com/piya23300/acts_as_commentable_more/pull/19"},"issue":{"href":"https://api.github.com/repos/piya23300/acts_as_commentable_more/issues/19"},"comments":{"href":"https://api.github.com/repos/piya23300/acts_as_commentable_more/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/piya23300/acts_as_commentable_more/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/piya23300/acts_as_commentable_more/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/piya23300/acts_as_commentable_more/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/piya23300/acts_as_commentable_more/statuses/fb7e01ddc7d079c916f95c2d144e1e3665d8b8d4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"piya23300","id":4598861,"avatar_url":"https://avatars.githubusercontent.com/u/4598861?v=3","gravatar_id":"","url":"https://api.github.com/users/piya23300","html_url":"https://github.com/piya23300","followers_url":"https://api.github.com/users/piya23300/followers","following_url":"https://api.github.com/users/piya23300/following{/other_user}","gists_url":"https://api.github.com/users/piya23300/gists{/gist_id}","starred_url":"https://api.github.com/users/piya23300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piya23300/subscriptions","organizations_url":"https://api.github.com/users/piya23300/orgs","repos_url":"https://api.github.com/users/piya23300/repos","events_url":"https://api.github.com/users/piya23300/events{/privacy}","received_events_url":"https://api.github.com/users/piya23300/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":5,"additions":55,"deletions":16,"changed_files":5}}