{"action":"created","issue":{"url":"https://api.github.com/repos/ichiren1/useful-shuffle/issues/6","repository_url":"https://api.github.com/repos/ichiren1/useful-shuffle","labels_url":"https://api.github.com/repos/ichiren1/useful-shuffle/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ichiren1/useful-shuffle/issues/6/comments","events_url":"https://api.github.com/repos/ichiren1/useful-shuffle/issues/6/events","html_url":"https://github.com/ichiren1/useful-shuffle/issues/6","id":197332699,"number":6,"title":"シャッフルを行なう Ichiren モデルと、そのログを収集する Log モデルの設計","user":{"login":"mizukmb","id":7896080,"avatar_url":"https://avatars.githubusercontent.com/u/7896080?v=3","gravatar_id":"","url":"https://api.github.com/users/mizukmb","html_url":"https://github.com/mizukmb","followers_url":"https://api.github.com/users/mizukmb/followers","following_url":"https://api.github.com/users/mizukmb/following{/other_user}","gists_url":"https://api.github.com/users/mizukmb/gists{/gist_id}","starred_url":"https://api.github.com/users/mizukmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizukmb/subscriptions","organizations_url":"https://api.github.com/users/mizukmb/orgs","repos_url":"https://api.github.com/users/mizukmb/repos","events_url":"https://api.github.com/users/mizukmb/events{/privacy}","received_events_url":"https://api.github.com/users/mizukmb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-23T08:50:50Z","updated_at":"2016-12-23T09:04:59Z","closed_at":null,"body":"## Ichirenモデル\r\n### 引数\r\n- element (Array, Hash) : シャッフルする要素の集合\r\n\r\n### インスタンス変数\r\n- @element (Array, Hash) : 引数と同じ\r\n\r\n### メソッド\r\n- choose(num=1) : 引数 `num` だけ要素から取り出す\r\n- shuffle: 要素の順番を入れ替える\r\n- send_log: Logオブジェクトを作成してDBに保存する\r\n\r\n## Logモデル\r\n\r\n|Name|Type|Attribute|\r\n|:---|:---|:---|\r\n|element_id|Integer|not null, primary_key|\r\n|type|string|not null|\r\n|element|string|not null|\r\n|result|string|not null|"},"comment":{"url":"https://api.github.com/repos/ichiren1/useful-shuffle/issues/comments/268959864","html_url":"https://github.com/ichiren1/useful-shuffle/issues/6#issuecomment-268959864","issue_url":"https://api.github.com/repos/ichiren1/useful-shuffle/issues/6","id":268959864,"user":{"login":"ichiren1","id":4242885,"avatar_url":"https://avatars.githubusercontent.com/u/4242885?v=3","gravatar_id":"","url":"https://api.github.com/users/ichiren1","html_url":"https://github.com/ichiren1","followers_url":"https://api.github.com/users/ichiren1/followers","following_url":"https://api.github.com/users/ichiren1/following{/other_user}","gists_url":"https://api.github.com/users/ichiren1/gists{/gist_id}","starred_url":"https://api.github.com/users/ichiren1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichiren1/subscriptions","organizations_url":"https://api.github.com/users/ichiren1/orgs","repos_url":"https://api.github.com/users/ichiren1/repos","events_url":"https://api.github.com/users/ichiren1/events{/privacy}","received_events_url":"https://api.github.com/users/ichiren1/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T09:04:59Z","updated_at":"2016-12-23T09:04:59Z","body":"名前はShuffleのほうが分かりやすいと思います"}}
{"actor":{"display_login":"ichiren1"}}