{"action":"opened","number":205,"pull_request":{"url":"https://api.github.com/repos/ZoranPandovski/design-patterns/pulls/205","id":225542433,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NTQyNDMz","html_url":"https://github.com/ZoranPandovski/design-patterns/pull/205","diff_url":"https://github.com/ZoranPandovski/design-patterns/pull/205.diff","patch_url":"https://github.com/ZoranPandovski/design-patterns/pull/205.patch","issue_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/issues/205","number":205,"state":"open","locked":false,"title":"Template Method in Kotlin","user":{"login":"kollstrom","id":11887211,"node_id":"MDQ6VXNlcjExODg3MjEx","avatar_url":"https://avatars2.githubusercontent.com/u/11887211?v=4","gravatar_id":"","url":"https://api.github.com/users/kollstrom","html_url":"https://github.com/kollstrom","followers_url":"https://api.github.com/users/kollstrom/followers","following_url":"https://api.github.com/users/kollstrom/following{/other_user}","gists_url":"https://api.github.com/users/kollstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/kollstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kollstrom/subscriptions","organizations_url":"https://api.github.com/users/kollstrom/orgs","repos_url":"https://api.github.com/users/kollstrom/repos","events_url":"https://api.github.com/users/kollstrom/events{/privacy}","received_events_url":"https://api.github.com/users/kollstrom/received_events","type":"User","site_admin":false},"body":"Add an example using caffeine beverages for showcasing the use of the Template Method in Kotlin. Example inspired by the Java example in Head First Design Patterns by Eric Freeman and Elisabeth Robson","created_at":"2018-10-24T20:37:08Z","updated_at":"2018-10-24T20:37:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/pulls/205/commits","review_comments_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/pulls/205/comments","review_comment_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/issues/205/comments","statuses_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/statuses/6e7afdaf551af18c38365971d55f3cdb1fc06119","head":{"label":"kollstrom:master","ref":"master","sha":"6e7afdaf551af18c38365971d55f3cdb1fc06119","user":{"login":"kollstrom","id":11887211,"node_id":"MDQ6VXNlcjExODg3MjEx","avatar_url":"https://avatars2.githubusercontent.com/u/11887211?v=4","gravatar_id":"","url":"https://api.github.com/users/kollstrom","html_url":"https://github.com/kollstrom","followers_url":"https://api.github.com/users/kollstrom/followers","following_url":"https://api.github.com/users/kollstrom/following{/other_user}","gists_url":"https://api.github.com/users/kollstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/kollstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kollstrom/subscriptions","organizations_url":"https://api.github.com/users/kollstrom/orgs","repos_url":"https://api.github.com/users/kollstrom/repos","events_url":"https://api.github.com/users/kollstrom/events{/privacy}","received_events_url":"https://api.github.com/users/kollstrom/received_events","type":"User","site_admin":false},"repo":{"id":154559319,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ1NTkzMTk=","name":"design-patterns","full_name":"kollstrom/design-patterns","private":false,"owner":{"login":"kollstrom","id":11887211,"node_id":"MDQ6VXNlcjExODg3MjEx","avatar_url":"https://avatars2.githubusercontent.com/u/11887211?v=4","gravatar_id":"","url":"https://api.github.com/users/kollstrom","html_url":"https://github.com/kollstrom","followers_url":"https://api.github.com/users/kollstrom/followers","following_url":"https://api.github.com/users/kollstrom/following{/other_user}","gists_url":"https://api.github.com/users/kollstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/kollstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kollstrom/subscriptions","organizations_url":"https://api.github.com/users/kollstrom/orgs","repos_url":"https://api.github.com/users/kollstrom/repos","events_url":"https://api.github.com/users/kollstrom/events{/privacy}","received_events_url":"https://api.github.com/users/kollstrom/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kollstrom/design-patterns","description":":briefcase: Design patterns written in different programming languages :triangular_ruler:","fork":true,"url":"https://api.github.com/repos/kollstrom/design-patterns","forks_url":"https://api.github.com/repos/kollstrom/design-patterns/forks","keys_url":"https://api.github.com/repos/kollstrom/design-patterns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kollstrom/design-patterns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kollstrom/design-patterns/teams","hooks_url":"https://api.github.com/repos/kollstrom/design-patterns/hooks","issue_events_url":"https://api.github.com/repos/kollstrom/design-patterns/issues/events{/number}","events_url":"https://api.github.com/repos/kollstrom/design-patterns/events","assignees_url":"https://api.github.com/repos/kollstrom/design-patterns/assignees{/user}","branches_url":"https://api.github.com/repos/kollstrom/design-patterns/branches{/branch}","tags_url":"https://api.github.com/repos/kollstrom/design-patterns/tags","blobs_url":"https://api.github.com/repos/kollstrom/design-patterns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kollstrom/design-patterns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kollstrom/design-patterns/git/refs{/sha}","trees_url":"https://api.github.com/repos/kollstrom/design-patterns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kollstrom/design-patterns/statuses/{sha}","languages_url":"https://api.github.com/repos/kollstrom/design-patterns/languages","stargazers_url":"https://api.github.com/repos/kollstrom/design-patterns/stargazers","contributors_url":"https://api.github.com/repos/kollstrom/design-patterns/contributors","subscribers_url":"https://api.github.com/repos/kollstrom/design-patterns/subscribers","subscription_url":"https://api.github.com/repos/kollstrom/design-patterns/subscription","commits_url":"https://api.github.com/repos/kollstrom/design-patterns/commits{/sha}","git_commits_url":"https://api.github.com/repos/kollstrom/design-patterns/git/commits{/sha}","comments_url":"https://api.github.com/repos/kollstrom/design-patterns/comments{/number}","issue_comment_url":"https://api.github.com/repos/kollstrom/design-patterns/issues/comments{/number}","contents_url":"https://api.github.com/repos/kollstrom/design-patterns/contents/{+path}","compare_url":"https://api.github.com/repos/kollstrom/design-patterns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kollstrom/design-patterns/merges","archive_url":"https://api.github.com/repos/kollstrom/design-patterns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kollstrom/design-patterns/downloads","issues_url":"https://api.github.com/repos/kollstrom/design-patterns/issues{/number}","pulls_url":"https://api.github.com/repos/kollstrom/design-patterns/pulls{/number}","milestones_url":"https://api.github.com/repos/kollstrom/design-patterns/milestones{/number}","notifications_url":"https://api.github.com/repos/kollstrom/design-patterns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kollstrom/design-patterns/labels{/name}","releases_url":"https://api.github.com/repos/kollstrom/design-patterns/releases{/id}","deployments_url":"https://api.github.com/repos/kollstrom/design-patterns/deployments","created_at":"2018-10-24T19:42:13Z","updated_at":"2018-10-24T20:34:42Z","pushed_at":"2018-10-24T20:34:41Z","git_url":"git://github.com/kollstrom/design-patterns.git","ssh_url":"git@github.com:kollstrom/design-patterns.git","clone_url":"https://github.com/kollstrom/design-patterns.git","svn_url":"https://github.com/kollstrom/design-patterns","homepage":"","size":452,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ZoranPandovski:master","ref":"master","sha":"ba080f9cb716d175c58c1d6e4ad1ccdf3347225c","user":{"login":"ZoranPandovski","id":7192539,"node_id":"MDQ6VXNlcjcxOTI1Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/7192539?v=4","gravatar_id":"","url":"https://api.github.com/users/ZoranPandovski","html_url":"https://github.com/ZoranPandovski","followers_url":"https://api.github.com/users/ZoranPandovski/followers","following_url":"https://api.github.com/users/ZoranPandovski/following{/other_user}","gists_url":"https://api.github.com/users/ZoranPandovski/gists{/gist_id}","starred_url":"https://api.github.com/users/ZoranPandovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZoranPandovski/subscriptions","organizations_url":"https://api.github.com/users/ZoranPandovski/orgs","repos_url":"https://api.github.com/users/ZoranPandovski/repos","events_url":"https://api.github.com/users/ZoranPandovski/events{/privacy}","received_events_url":"https://api.github.com/users/ZoranPandovski/received_events","type":"User","site_admin":false},"repo":{"id":106878264,"node_id":"MDEwOlJlcG9zaXRvcnkxMDY4NzgyNjQ=","name":"design-patterns","full_name":"ZoranPandovski/design-patterns","private":false,"owner":{"login":"ZoranPandovski","id":7192539,"node_id":"MDQ6VXNlcjcxOTI1Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/7192539?v=4","gravatar_id":"","url":"https://api.github.com/users/ZoranPandovski","html_url":"https://github.com/ZoranPandovski","followers_url":"https://api.github.com/users/ZoranPandovski/followers","following_url":"https://api.github.com/users/ZoranPandovski/following{/other_user}","gists_url":"https://api.github.com/users/ZoranPandovski/gists{/gist_id}","starred_url":"https://api.github.com/users/ZoranPandovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZoranPandovski/subscriptions","organizations_url":"https://api.github.com/users/ZoranPandovski/orgs","repos_url":"https://api.github.com/users/ZoranPandovski/repos","events_url":"https://api.github.com/users/ZoranPandovski/events{/privacy}","received_events_url":"https://api.github.com/users/ZoranPandovski/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ZoranPandovski/design-patterns","description":":briefcase: Design patterns written in different programming languages :triangular_ruler:","fork":false,"url":"https://api.github.com/repos/ZoranPandovski/design-patterns","forks_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/forks","keys_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/teams","hooks_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/hooks","issue_events_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/issues/events{/number}","events_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/events","assignees_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/assignees{/user}","branches_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/branches{/branch}","tags_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/tags","blobs_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/statuses/{sha}","languages_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/languages","stargazers_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/stargazers","contributors_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/contributors","subscribers_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/subscribers","subscription_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/subscription","commits_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/contents/{+path}","compare_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/merges","archive_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/downloads","issues_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/issues{/number}","pulls_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/pulls{/number}","milestones_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/milestones{/number}","notifications_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/labels{/name}","releases_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/releases{/id}","deployments_url":"https://api.github.com/repos/ZoranPandovski/design-patterns/deployments","created_at":"2017-10-13T22:18:10Z","updated_at":"2018-10-24T18:23:20Z","pushed_at":"2018-10-24T18:39:54Z","git_url":"git://github.com/ZoranPandovski/design-patterns.git","ssh_url":"git@github.com:ZoranPandovski/design-patterns.git","clone_url":"https://github.com/ZoranPandovski/design-patterns.git","svn_url":"https://github.com/ZoranPandovski/design-patterns","homepage":"","size":452,"stargazers_count":76,"watchers_count":76,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":119,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":119,"open_issues":8,"watchers":76,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZoranPandovski/design-patterns/pulls/205"},"html":{"href":"https://github.com/ZoranPandovski/design-patterns/pull/205"},"issue":{"href":"https://api.github.com/repos/ZoranPandovski/design-patterns/issues/205"},"comments":{"href":"https://api.github.com/repos/ZoranPandovski/design-patterns/issues/205/comments"},"review_comments":{"href":"https://api.github.com/repos/ZoranPandovski/design-patterns/pulls/205/comments"},"review_comment":{"href":"https://api.github.com/repos/ZoranPandovski/design-patterns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZoranPandovski/design-patterns/pulls/205/commits"},"statuses":{"href":"https://api.github.com/repos/ZoranPandovski/design-patterns/statuses/6e7afdaf551af18c38365971d55f3cdb1fc06119"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":46,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"kollstrom"}}