{"action":"created","comment":{"url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/comments/195999299","pull_request_review_id":129463727,"id":195999299,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTk5OTI5OQ==","diff_hunk":"@@ -0,0 +1,58 @@\n+public class CreditCardValidator {\n+    public static String validate(String cardName, Long carnNo) {","path":"src/CreditCardValidator.java","position":2,"original_position":2,"commit_id":"40605b5d958903a5c56c3bcdd5bf6c5c0337d92f","original_commit_id":"40605b5d958903a5c56c3bcdd5bf6c5c0337d92f","user":{"login":"bgmarti","id":22430444,"node_id":"MDQ6VXNlcjIyNDMwNDQ0","avatar_url":"https://avatars0.githubusercontent.com/u/22430444?v=4","gravatar_id":"","url":"https://api.github.com/users/bgmarti","html_url":"https://github.com/bgmarti","followers_url":"https://api.github.com/users/bgmarti/followers","following_url":"https://api.github.com/users/bgmarti/following{/other_user}","gists_url":"https://api.github.com/users/bgmarti/gists{/gist_id}","starred_url":"https://api.github.com/users/bgmarti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgmarti/subscriptions","organizations_url":"https://api.github.com/users/bgmarti/orgs","repos_url":"https://api.github.com/users/bgmarti/repos","events_url":"https://api.github.com/users/bgmarti/events{/privacy}","received_events_url":"https://api.github.com/users/bgmarti/received_events","type":"User","site_admin":false},"body":"[DESIGN]\r\nstatic methods make code testing  very difficult","created_at":"2018-06-18T08:31:39Z","updated_at":"2018-06-18T08:38:28Z","html_url":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator/pull/2#discussion_r195999299","pull_request_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/comments/195999299"},"html":{"href":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator/pull/2#discussion_r195999299"},"pull_request":{"href":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/2","id":193906651,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzOTA2NjUx","html_url":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator/pull/2","diff_url":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator/pull/2.diff","patch_url":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator/pull/2.patch","issue_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/issues/2","number":2,"state":"open","locked":false,"title":"Add project","user":{"login":"adrianwysocki1","id":37083014,"node_id":"MDQ6VXNlcjM3MDgzMDE0","avatar_url":"https://avatars1.githubusercontent.com/u/37083014?v=4","gravatar_id":"","url":"https://api.github.com/users/adrianwysocki1","html_url":"https://github.com/adrianwysocki1","followers_url":"https://api.github.com/users/adrianwysocki1/followers","following_url":"https://api.github.com/users/adrianwysocki1/following{/other_user}","gists_url":"https://api.github.com/users/adrianwysocki1/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianwysocki1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianwysocki1/subscriptions","organizations_url":"https://api.github.com/users/adrianwysocki1/orgs","repos_url":"https://api.github.com/users/adrianwysocki1/repos","events_url":"https://api.github.com/users/adrianwysocki1/events{/privacy}","received_events_url":"https://api.github.com/users/adrianwysocki1/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-11T08:25:38Z","updated_at":"2018-06-18T08:38:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fdb6a623a9225db6afe5a548e0c102f6d1ba5c0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/2/commits","review_comments_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/2/comments","review_comment_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/issues/2/comments","statuses_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/statuses/40605b5d958903a5c56c3bcdd5bf6c5c0337d92f","head":{"label":"solid-programming-basics-coursework:adrianwysocki1","ref":"adrianwysocki1","sha":"40605b5d958903a5c56c3bcdd5bf6c5c0337d92f","user":{"login":"solid-programming-basics-coursework","id":39876885,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODc2ODg1","avatar_url":"https://avatars1.githubusercontent.com/u/39876885?v=4","gravatar_id":"","url":"https://api.github.com/users/solid-programming-basics-coursework","html_url":"https://github.com/solid-programming-basics-coursework","followers_url":"https://api.github.com/users/solid-programming-basics-coursework/followers","following_url":"https://api.github.com/users/solid-programming-basics-coursework/following{/other_user}","gists_url":"https://api.github.com/users/solid-programming-basics-coursework/gists{/gist_id}","starred_url":"https://api.github.com/users/solid-programming-basics-coursework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solid-programming-basics-coursework/subscriptions","organizations_url":"https://api.github.com/users/solid-programming-basics-coursework/orgs","repos_url":"https://api.github.com/users/solid-programming-basics-coursework/repos","events_url":"https://api.github.com/users/solid-programming-basics-coursework/events{/privacy}","received_events_url":"https://api.github.com/users/solid-programming-basics-coursework/received_events","type":"Organization","site_admin":false},"repo":{"id":135897133,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU4OTcxMzM=","name":"solid-credit-card-validator","full_name":"solid-programming-basics-coursework/solid-credit-card-validator","owner":{"login":"solid-programming-basics-coursework","id":39876885,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODc2ODg1","avatar_url":"https://avatars1.githubusercontent.com/u/39876885?v=4","gravatar_id":"","url":"https://api.github.com/users/solid-programming-basics-coursework","html_url":"https://github.com/solid-programming-basics-coursework","followers_url":"https://api.github.com/users/solid-programming-basics-coursework/followers","following_url":"https://api.github.com/users/solid-programming-basics-coursework/following{/other_user}","gists_url":"https://api.github.com/users/solid-programming-basics-coursework/gists{/gist_id}","starred_url":"https://api.github.com/users/solid-programming-basics-coursework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solid-programming-basics-coursework/subscriptions","organizations_url":"https://api.github.com/users/solid-programming-basics-coursework/orgs","repos_url":"https://api.github.com/users/solid-programming-basics-coursework/repos","events_url":"https://api.github.com/users/solid-programming-basics-coursework/events{/privacy}","received_events_url":"https://api.github.com/users/solid-programming-basics-coursework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator","description":"Implement a validator that takes in a credit card number from a common credit card vendor (Visa, MasterCard) and validates it to make sure that it is a valid number. Validator should be implemented  in a way that allows extending it easily when adding new card vendors.","fork":false,"url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator","forks_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/forks","keys_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/teams","hooks_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/hooks","issue_events_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/issues/events{/number}","events_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/events","assignees_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/assignees{/user}","branches_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/branches{/branch}","tags_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/tags","blobs_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/statuses/{sha}","languages_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/languages","stargazers_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/stargazers","contributors_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/contributors","subscribers_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/subscribers","subscription_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/subscription","commits_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/contents/{+path}","compare_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/merges","archive_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/downloads","issues_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/issues{/number}","pulls_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls{/number}","milestones_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/milestones{/number}","notifications_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/labels{/name}","releases_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/releases{/id}","deployments_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/deployments","created_at":"2018-06-03T11:12:01Z","updated_at":"2018-06-04T15:44:58Z","pushed_at":"2018-06-16T21:52:27Z","git_url":"git://github.com/solid-programming-basics-coursework/solid-credit-card-validator.git","ssh_url":"git@github.com:solid-programming-basics-coursework/solid-credit-card-validator.git","clone_url":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator.git","svn_url":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator","homepage":"","size":35,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"solid-programming-basics-coursework:master","ref":"master","sha":"ee5f6ccbdc16a79df1390be5cdbbcfa17ff0042f","user":{"login":"solid-programming-basics-coursework","id":39876885,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODc2ODg1","avatar_url":"https://avatars1.githubusercontent.com/u/39876885?v=4","gravatar_id":"","url":"https://api.github.com/users/solid-programming-basics-coursework","html_url":"https://github.com/solid-programming-basics-coursework","followers_url":"https://api.github.com/users/solid-programming-basics-coursework/followers","following_url":"https://api.github.com/users/solid-programming-basics-coursework/following{/other_user}","gists_url":"https://api.github.com/users/solid-programming-basics-coursework/gists{/gist_id}","starred_url":"https://api.github.com/users/solid-programming-basics-coursework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solid-programming-basics-coursework/subscriptions","organizations_url":"https://api.github.com/users/solid-programming-basics-coursework/orgs","repos_url":"https://api.github.com/users/solid-programming-basics-coursework/repos","events_url":"https://api.github.com/users/solid-programming-basics-coursework/events{/privacy}","received_events_url":"https://api.github.com/users/solid-programming-basics-coursework/received_events","type":"Organization","site_admin":false},"repo":{"id":135897133,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU4OTcxMzM=","name":"solid-credit-card-validator","full_name":"solid-programming-basics-coursework/solid-credit-card-validator","owner":{"login":"solid-programming-basics-coursework","id":39876885,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODc2ODg1","avatar_url":"https://avatars1.githubusercontent.com/u/39876885?v=4","gravatar_id":"","url":"https://api.github.com/users/solid-programming-basics-coursework","html_url":"https://github.com/solid-programming-basics-coursework","followers_url":"https://api.github.com/users/solid-programming-basics-coursework/followers","following_url":"https://api.github.com/users/solid-programming-basics-coursework/following{/other_user}","gists_url":"https://api.github.com/users/solid-programming-basics-coursework/gists{/gist_id}","starred_url":"https://api.github.com/users/solid-programming-basics-coursework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solid-programming-basics-coursework/subscriptions","organizations_url":"https://api.github.com/users/solid-programming-basics-coursework/orgs","repos_url":"https://api.github.com/users/solid-programming-basics-coursework/repos","events_url":"https://api.github.com/users/solid-programming-basics-coursework/events{/privacy}","received_events_url":"https://api.github.com/users/solid-programming-basics-coursework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator","description":"Implement a validator that takes in a credit card number from a common credit card vendor (Visa, MasterCard) and validates it to make sure that it is a valid number. Validator should be implemented  in a way that allows extending it easily when adding new card vendors.","fork":false,"url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator","forks_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/forks","keys_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/teams","hooks_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/hooks","issue_events_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/issues/events{/number}","events_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/events","assignees_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/assignees{/user}","branches_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/branches{/branch}","tags_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/tags","blobs_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/statuses/{sha}","languages_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/languages","stargazers_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/stargazers","contributors_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/contributors","subscribers_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/subscribers","subscription_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/subscription","commits_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/contents/{+path}","compare_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/merges","archive_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/downloads","issues_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/issues{/number}","pulls_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls{/number}","milestones_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/milestones{/number}","notifications_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/labels{/name}","releases_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/releases{/id}","deployments_url":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/deployments","created_at":"2018-06-03T11:12:01Z","updated_at":"2018-06-04T15:44:58Z","pushed_at":"2018-06-16T21:52:27Z","git_url":"git://github.com/solid-programming-basics-coursework/solid-credit-card-validator.git","ssh_url":"git@github.com:solid-programming-basics-coursework/solid-credit-card-validator.git","clone_url":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator.git","svn_url":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator","homepage":"","size":35,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/2"},"html":{"href":"https://github.com/solid-programming-basics-coursework/solid-credit-card-validator/pull/2"},"issue":{"href":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/issues/2"},"comments":{"href":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/solid-programming-basics-coursework/solid-credit-card-validator/statuses/40605b5d958903a5c56c3bcdd5bf6c5c0337d92f"}},"author_association":"NONE"}}
{"actor":{"display_login":"bgmarti"}}