{"action":"created","issue":{"url":"https://api.github.com/repos/urfu-2015/javascript-tasks-7/issues/4","labels_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-7/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-7/issues/4/comments","events_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-7/issues/4/events","html_url":"https://github.com/urfu-2015/javascript-tasks-7/pull/4","id":116395739,"number":4,"title":"Колобухов Сергей","user":{"login":"SKolobukhov","id":8927714,"avatar_url":"https://avatars.githubusercontent.com/u/8927714?v=3","gravatar_id":"","url":"https://api.github.com/users/SKolobukhov","html_url":"https://github.com/SKolobukhov","followers_url":"https://api.github.com/users/SKolobukhov/followers","following_url":"https://api.github.com/users/SKolobukhov/following{/other_user}","gists_url":"https://api.github.com/users/SKolobukhov/gists{/gist_id}","starred_url":"https://api.github.com/users/SKolobukhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SKolobukhov/subscriptions","organizations_url":"https://api.github.com/users/SKolobukhov/orgs","repos_url":"https://api.github.com/users/SKolobukhov/repos","events_url":"https://api.github.com/users/SKolobukhov/events{/privacy}","received_events_url":"https://api.github.com/users/SKolobukhov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Zhigalov","id":1654243,"avatar_url":"https://avatars.githubusercontent.com/u/1654243?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhigalov","html_url":"https://github.com/Zhigalov","followers_url":"https://api.github.com/users/Zhigalov/followers","following_url":"https://api.github.com/users/Zhigalov/following{/other_user}","gists_url":"https://api.github.com/users/Zhigalov/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhigalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhigalov/subscriptions","organizations_url":"https://api.github.com/users/Zhigalov/orgs","repos_url":"https://api.github.com/users/Zhigalov/repos","events_url":"https://api.github.com/users/Zhigalov/events{/privacy}","received_events_url":"https://api.github.com/users/Zhigalov/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-11-11T18:43:23Z","updated_at":"2015-11-21T08:07:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/urfu-2015/javascript-tasks-7/pulls/4","html_url":"https://github.com/urfu-2015/javascript-tasks-7/pull/4","diff_url":"https://github.com/urfu-2015/javascript-tasks-7/pull/4.diff","patch_url":"https://github.com/urfu-2015/javascript-tasks-7/pull/4.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/urfu-2015/javascript-tasks-7/issues/comments/158611465","html_url":"https://github.com/urfu-2015/javascript-tasks-7/pull/4#issuecomment-158611465","issue_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-7/issues/4","id":158611465,"user":{"login":"Zhigalov","id":1654243,"avatar_url":"https://avatars.githubusercontent.com/u/1654243?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhigalov","html_url":"https://github.com/Zhigalov","followers_url":"https://api.github.com/users/Zhigalov/followers","following_url":"https://api.github.com/users/Zhigalov/following{/other_user}","gists_url":"https://api.github.com/users/Zhigalov/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhigalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhigalov/subscriptions","organizations_url":"https://api.github.com/users/Zhigalov/orgs","repos_url":"https://api.github.com/users/Zhigalov/repos","events_url":"https://api.github.com/users/Zhigalov/events{/privacy}","received_events_url":"https://api.github.com/users/Zhigalov/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T08:07:11Z","updated_at":"2015-11-21T08:07:11Z","body":"Ок. Принимаю задачу :star:\r\nПро декларативный стиль: в данном случае определить в объекте какие методы и для какого типа будут добавлены. А затем в методе инициализации добавить в нужные прототипы методы по объекту."}}