{"action":"created","issue":{"url":"https://api.github.com/repos/nomlab/perican/issues/8","labels_url":"https://api.github.com/repos/nomlab/perican/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/nomlab/perican/issues/8/comments","events_url":"https://api.github.com/repos/nomlab/perican/issues/8/events","html_url":"https://github.com/nomlab/perican/pull/8","id":94753730,"number":8,"title":"Move to_json from Resource to Metadata","user":{"login":"emi0910","id":11749627,"avatar_url":"https://avatars.githubusercontent.com/u/11749627?v=3","gravatar_id":"","url":"https://api.github.com/users/emi0910","html_url":"https://github.com/emi0910","followers_url":"https://api.github.com/users/emi0910/followers","following_url":"https://api.github.com/users/emi0910/following{/other_user}","gists_url":"https://api.github.com/users/emi0910/gists{/gist_id}","starred_url":"https://api.github.com/users/emi0910/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emi0910/subscriptions","organizations_url":"https://api.github.com/users/emi0910/orgs","repos_url":"https://api.github.com/users/emi0910/repos","events_url":"https://api.github.com/users/emi0910/events{/privacy}","received_events_url":"https://api.github.com/users/emi0910/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-13T15:53:52Z","updated_at":"2015-07-24T01:35:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nomlab/perican/pulls/8","html_url":"https://github.com/nomlab/perican/pull/8","diff_url":"https://github.com/nomlab/perican/pull/8.diff","patch_url":"https://github.com/nomlab/perican/pull/8.patch"},"body":"Resource クラスで定義されていた to_json メソッドを generate_to_json メソッドとして\r\nsender/camome.rb のCamome クラスで定義し直した．\r\nまた，json 形式にするデータ本体も変更を加えた．\r\n変更は以下の通りである．\r\n+ ハッシュが持つキーは，clam と resource である\r\n+ clam は，content_type，uid，date，summary，options を持つ\r\n+ source は resource のデータ本体で，resource の継承クラスから source メソッドで取得する\r\n+ clam が持つハッシュは Metadate クラスの to_hash メソッドで取得する\r\n+ source が持つハッシュは Resource クラスの to_hash メソッドで取得する"},"comment":{"url":"https://api.github.com/repos/nomlab/perican/issues/comments/124288460","html_url":"https://github.com/nomlab/perican/pull/8#issuecomment-124288460","issue_url":"https://api.github.com/repos/nomlab/perican/issues/8","id":124288460,"user":{"login":"okada-takuya","id":4032004,"avatar_url":"https://avatars.githubusercontent.com/u/4032004?v=3","gravatar_id":"","url":"https://api.github.com/users/okada-takuya","html_url":"https://github.com/okada-takuya","followers_url":"https://api.github.com/users/okada-takuya/followers","following_url":"https://api.github.com/users/okada-takuya/following{/other_user}","gists_url":"https://api.github.com/users/okada-takuya/gists{/gist_id}","starred_url":"https://api.github.com/users/okada-takuya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okada-takuya/subscriptions","organizations_url":"https://api.github.com/users/okada-takuya/orgs","repos_url":"https://api.github.com/users/okada-takuya/repos","events_url":"https://api.github.com/users/okada-takuya/events{/privacy}","received_events_url":"https://api.github.com/users/okada-takuya/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T01:35:00Z","updated_at":"2015-07-24T01:35:00Z","body":"修正後のコードを確認しました．\r\nmerge しても大丈夫だと思います．"}}