{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments/61331642","id":61331642,"diff_hunk":"@@ -0,0 +1,14 @@\n+  class ImagesController\n+  class ShareForm\n+    include ActiveModel::Model\n+\n+    attr_accessor :recipient, :title, :content","path":"app/controllers/images_controller/share_form.rb","position":5,"original_position":5,"commit_id":"6dd92a28d8c6c1fb1ae9b40085dc41f889bd29bb","original_commit_id":"6dd92a28d8c6c1fb1ae9b40085dc41f889bd29bb","user":{"login":"wilsonyqm","id":9424989,"avatar_url":"https://avatars.githubusercontent.com/u/9424989?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonyqm","html_url":"https://github.com/wilsonyqm","followers_url":"https://api.github.com/users/wilsonyqm/followers","following_url":"https://api.github.com/users/wilsonyqm/following{/other_user}","gists_url":"https://api.github.com/users/wilsonyqm/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonyqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonyqm/subscriptions","organizations_url":"https://api.github.com/users/wilsonyqm/orgs","repos_url":"https://api.github.com/users/wilsonyqm/repos","events_url":"https://api.github.com/users/wilsonyqm/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonyqm/received_events","type":"User","site_admin":false},"body":"I think the recipient is required here which is implemented in the validator, but the title and content can be blank. ","created_at":"2016-04-27T20:38:15Z","updated_at":"2016-04-27T20:38:15Z","html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/31#discussion_r61331642","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments/61331642"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/31#discussion_r61331642"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/31","id":67581071,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/31","diff_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/31.diff","patch_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/31.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/31","number":31,"state":"open","locked":false,"title":"Image share with new_share action and create_share action","user":{"login":"wilsonyqm","id":9424989,"avatar_url":"https://avatars.githubusercontent.com/u/9424989?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonyqm","html_url":"https://github.com/wilsonyqm","followers_url":"https://api.github.com/users/wilsonyqm/followers","following_url":"https://api.github.com/users/wilsonyqm/following{/other_user}","gists_url":"https://api.github.com/users/wilsonyqm/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonyqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonyqm/subscriptions","organizations_url":"https://api.github.com/users/wilsonyqm/orgs","repos_url":"https://api.github.com/users/wilsonyqm/repos","events_url":"https://api.github.com/users/wilsonyqm/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonyqm/received_events","type":"User","site_admin":false},"body":"Share is a single page which is same as new page in this PR. ","created_at":"2016-04-22T22:22:50Z","updated_at":"2016-04-27T20:38:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e1a1a6b8b2329dd510daf90900d61e0696db1d8","assignee":{"login":"rmacklin","id":1863540,"avatar_url":"https://avatars.githubusercontent.com/u/1863540?v=3","gravatar_id":"","url":"https://api.github.com/users/rmacklin","html_url":"https://github.com/rmacklin","followers_url":"https://api.github.com/users/rmacklin/followers","following_url":"https://api.github.com/users/rmacklin/following{/other_user}","gists_url":"https://api.github.com/users/rmacklin/gists{/gist_id}","starred_url":"https://api.github.com/users/rmacklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmacklin/subscriptions","organizations_url":"https://api.github.com/users/rmacklin/orgs","repos_url":"https://api.github.com/users/rmacklin/repos","events_url":"https://api.github.com/users/rmacklin/events{/privacy}","received_events_url":"https://api.github.com/users/rmacklin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/31/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/31/comments","review_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/31/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/6dd92a28d8c6c1fb1ae9b40085dc41f889bd29bb","head":{"label":"AppFolioOnboarding:ImageShare","ref":"ImageShare","sha":"6dd92a28d8c6c1fb1ae9b40085dc41f889bd29bb","user":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":55442589,"name":"image-sharer-wilsonyqm","full_name":"AppFolioOnboarding/image-sharer-wilsonyqm","owner":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm","description":"image-sharer-wilsonyqm created by Classroom for GitHub","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/deployments","created_at":"2016-04-04T20:29:58Z","updated_at":"2016-04-04T20:30:08Z","pushed_at":"2016-04-27T16:44:57Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-wilsonyqm.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm","homepage":null,"size":100,"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":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"22e6a75b762d1e71c3e8a9c3578b67b01a26b2c1","user":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":55442589,"name":"image-sharer-wilsonyqm","full_name":"AppFolioOnboarding/image-sharer-wilsonyqm","owner":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm","description":"image-sharer-wilsonyqm created by Classroom for GitHub","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/deployments","created_at":"2016-04-04T20:29:58Z","updated_at":"2016-04-04T20:30:08Z","pushed_at":"2016-04-27T16:44:57Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-wilsonyqm.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm","homepage":null,"size":100,"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":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/31"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/31"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/31"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/6dd92a28d8c6c1fb1ae9b40085dc41f889bd29bb"}}}}