{"action":"closed","number":25,"pull_request":{"url":"https://api.github.com/repos/Xwebyna/banka/pulls/25","id":269836631,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY5ODM2NjMx","html_url":"https://github.com/Xwebyna/banka/pull/25","diff_url":"https://github.com/Xwebyna/banka/pull/25.diff","patch_url":"https://github.com/Xwebyna/banka/pull/25.patch","issue_url":"https://api.github.com/repos/Xwebyna/banka/issues/25","number":25,"state":"closed","locked":false,"title":"#165287584 API endpoint to delete Account","user":{"login":"Xwebyna","id":42908597,"node_id":"MDQ6VXNlcjQyOTA4NTk3","avatar_url":"https://avatars2.githubusercontent.com/u/42908597?v=4","gravatar_id":"","url":"https://api.github.com/users/Xwebyna","html_url":"https://github.com/Xwebyna","followers_url":"https://api.github.com/users/Xwebyna/followers","following_url":"https://api.github.com/users/Xwebyna/following{/other_user}","gists_url":"https://api.github.com/users/Xwebyna/gists{/gist_id}","starred_url":"https://api.github.com/users/Xwebyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xwebyna/subscriptions","organizations_url":"https://api.github.com/users/Xwebyna/orgs","repos_url":"https://api.github.com/users/Xwebyna/repos","events_url":"https://api.github.com/users/Xwebyna/events{/privacy}","received_events_url":"https://api.github.com/users/Xwebyna/received_events","type":"User","site_admin":false},"body":"**Why this PR?**\r\nAdd functionality for only Admin/Staff to delete bank account of users\r\n\r\n**Changes**\r\n* Write test for this functionality\r\n* Create controller to delete account\r\n* Setup DELETE route\r\n\r\n> ***DELETE /accounts/< account-number >***\r\n**Response spec:**\r\n```\r\n{\r\n“status” : Integer,\r\n“message” : ”Account successfully deleted”\r\n}\r\n```\r\n\r\n","created_at":"2019-04-12T00:47:42Z","updated_at":"2019-04-12T01:08:24Z","closed_at":"2019-04-12T01:08:24Z","merged_at":"2019-04-12T01:08:24Z","merge_commit_sha":"e105e88aa3f52d8ca6d66428dff672b41e52ccf7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Xwebyna/banka/pulls/25/commits","review_comments_url":"https://api.github.com/repos/Xwebyna/banka/pulls/25/comments","review_comment_url":"https://api.github.com/repos/Xwebyna/banka/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Xwebyna/banka/issues/25/comments","statuses_url":"https://api.github.com/repos/Xwebyna/banka/statuses/3eb4042bf3441907a23efe84737b65eead6e8257","head":{"label":"Xwebyna:ft_#165287584-adminstaff-able-delete-account","ref":"ft_#165287584-adminstaff-able-delete-account","sha":"3eb4042bf3441907a23efe84737b65eead6e8257","user":{"login":"Xwebyna","id":42908597,"node_id":"MDQ6VXNlcjQyOTA4NTk3","avatar_url":"https://avatars2.githubusercontent.com/u/42908597?v=4","gravatar_id":"","url":"https://api.github.com/users/Xwebyna","html_url":"https://github.com/Xwebyna","followers_url":"https://api.github.com/users/Xwebyna/followers","following_url":"https://api.github.com/users/Xwebyna/following{/other_user}","gists_url":"https://api.github.com/users/Xwebyna/gists{/gist_id}","starred_url":"https://api.github.com/users/Xwebyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xwebyna/subscriptions","organizations_url":"https://api.github.com/users/Xwebyna/orgs","repos_url":"https://api.github.com/users/Xwebyna/repos","events_url":"https://api.github.com/users/Xwebyna/events{/privacy}","received_events_url":"https://api.github.com/users/Xwebyna/received_events","type":"User","site_admin":false},"repo":{"id":176328695,"node_id":"MDEwOlJlcG9zaXRvcnkxNzYzMjg2OTU=","name":"banka","full_name":"Xwebyna/banka","private":false,"owner":{"login":"Xwebyna","id":42908597,"node_id":"MDQ6VXNlcjQyOTA4NTk3","avatar_url":"https://avatars2.githubusercontent.com/u/42908597?v=4","gravatar_id":"","url":"https://api.github.com/users/Xwebyna","html_url":"https://github.com/Xwebyna","followers_url":"https://api.github.com/users/Xwebyna/followers","following_url":"https://api.github.com/users/Xwebyna/following{/other_user}","gists_url":"https://api.github.com/users/Xwebyna/gists{/gist_id}","starred_url":"https://api.github.com/users/Xwebyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xwebyna/subscriptions","organizations_url":"https://api.github.com/users/Xwebyna/orgs","repos_url":"https://api.github.com/users/Xwebyna/repos","events_url":"https://api.github.com/users/Xwebyna/events{/privacy}","received_events_url":"https://api.github.com/users/Xwebyna/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Xwebyna/banka","description":"Banka is a light-weight core banking application that powers banking operations like account creation, customer deposit and withdrawals. ","fork":false,"url":"https://api.github.com/repos/Xwebyna/banka","forks_url":"https://api.github.com/repos/Xwebyna/banka/forks","keys_url":"https://api.github.com/repos/Xwebyna/banka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Xwebyna/banka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Xwebyna/banka/teams","hooks_url":"https://api.github.com/repos/Xwebyna/banka/hooks","issue_events_url":"https://api.github.com/repos/Xwebyna/banka/issues/events{/number}","events_url":"https://api.github.com/repos/Xwebyna/banka/events","assignees_url":"https://api.github.com/repos/Xwebyna/banka/assignees{/user}","branches_url":"https://api.github.com/repos/Xwebyna/banka/branches{/branch}","tags_url":"https://api.github.com/repos/Xwebyna/banka/tags","blobs_url":"https://api.github.com/repos/Xwebyna/banka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Xwebyna/banka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Xwebyna/banka/git/refs{/sha}","trees_url":"https://api.github.com/repos/Xwebyna/banka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Xwebyna/banka/statuses/{sha}","languages_url":"https://api.github.com/repos/Xwebyna/banka/languages","stargazers_url":"https://api.github.com/repos/Xwebyna/banka/stargazers","contributors_url":"https://api.github.com/repos/Xwebyna/banka/contributors","subscribers_url":"https://api.github.com/repos/Xwebyna/banka/subscribers","subscription_url":"https://api.github.com/repos/Xwebyna/banka/subscription","commits_url":"https://api.github.com/repos/Xwebyna/banka/commits{/sha}","git_commits_url":"https://api.github.com/repos/Xwebyna/banka/git/commits{/sha}","comments_url":"https://api.github.com/repos/Xwebyna/banka/comments{/number}","issue_comment_url":"https://api.github.com/repos/Xwebyna/banka/issues/comments{/number}","contents_url":"https://api.github.com/repos/Xwebyna/banka/contents/{+path}","compare_url":"https://api.github.com/repos/Xwebyna/banka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Xwebyna/banka/merges","archive_url":"https://api.github.com/repos/Xwebyna/banka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Xwebyna/banka/downloads","issues_url":"https://api.github.com/repos/Xwebyna/banka/issues{/number}","pulls_url":"https://api.github.com/repos/Xwebyna/banka/pulls{/number}","milestones_url":"https://api.github.com/repos/Xwebyna/banka/milestones{/number}","notifications_url":"https://api.github.com/repos/Xwebyna/banka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Xwebyna/banka/labels{/name}","releases_url":"https://api.github.com/repos/Xwebyna/banka/releases{/id}","deployments_url":"https://api.github.com/repos/Xwebyna/banka/deployments","created_at":"2019-03-18T16:40:53Z","updated_at":"2019-04-11T14:41:57Z","pushed_at":"2019-04-12T01:08:24Z","git_url":"git://github.com/Xwebyna/banka.git","ssh_url":"git@github.com:Xwebyna/banka.git","clone_url":"https://github.com/Xwebyna/banka.git","svn_url":"https://github.com/Xwebyna/banka","homepage":null,"size":345,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"Xwebyna:development","ref":"development","sha":"792c8101e9df4e7d28a762dc98271270ca9e60af","user":{"login":"Xwebyna","id":42908597,"node_id":"MDQ6VXNlcjQyOTA4NTk3","avatar_url":"https://avatars2.githubusercontent.com/u/42908597?v=4","gravatar_id":"","url":"https://api.github.com/users/Xwebyna","html_url":"https://github.com/Xwebyna","followers_url":"https://api.github.com/users/Xwebyna/followers","following_url":"https://api.github.com/users/Xwebyna/following{/other_user}","gists_url":"https://api.github.com/users/Xwebyna/gists{/gist_id}","starred_url":"https://api.github.com/users/Xwebyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xwebyna/subscriptions","organizations_url":"https://api.github.com/users/Xwebyna/orgs","repos_url":"https://api.github.com/users/Xwebyna/repos","events_url":"https://api.github.com/users/Xwebyna/events{/privacy}","received_events_url":"https://api.github.com/users/Xwebyna/received_events","type":"User","site_admin":false},"repo":{"id":176328695,"node_id":"MDEwOlJlcG9zaXRvcnkxNzYzMjg2OTU=","name":"banka","full_name":"Xwebyna/banka","private":false,"owner":{"login":"Xwebyna","id":42908597,"node_id":"MDQ6VXNlcjQyOTA4NTk3","avatar_url":"https://avatars2.githubusercontent.com/u/42908597?v=4","gravatar_id":"","url":"https://api.github.com/users/Xwebyna","html_url":"https://github.com/Xwebyna","followers_url":"https://api.github.com/users/Xwebyna/followers","following_url":"https://api.github.com/users/Xwebyna/following{/other_user}","gists_url":"https://api.github.com/users/Xwebyna/gists{/gist_id}","starred_url":"https://api.github.com/users/Xwebyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xwebyna/subscriptions","organizations_url":"https://api.github.com/users/Xwebyna/orgs","repos_url":"https://api.github.com/users/Xwebyna/repos","events_url":"https://api.github.com/users/Xwebyna/events{/privacy}","received_events_url":"https://api.github.com/users/Xwebyna/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Xwebyna/banka","description":"Banka is a light-weight core banking application that powers banking operations like account creation, customer deposit and withdrawals. ","fork":false,"url":"https://api.github.com/repos/Xwebyna/banka","forks_url":"https://api.github.com/repos/Xwebyna/banka/forks","keys_url":"https://api.github.com/repos/Xwebyna/banka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Xwebyna/banka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Xwebyna/banka/teams","hooks_url":"https://api.github.com/repos/Xwebyna/banka/hooks","issue_events_url":"https://api.github.com/repos/Xwebyna/banka/issues/events{/number}","events_url":"https://api.github.com/repos/Xwebyna/banka/events","assignees_url":"https://api.github.com/repos/Xwebyna/banka/assignees{/user}","branches_url":"https://api.github.com/repos/Xwebyna/banka/branches{/branch}","tags_url":"https://api.github.com/repos/Xwebyna/banka/tags","blobs_url":"https://api.github.com/repos/Xwebyna/banka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Xwebyna/banka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Xwebyna/banka/git/refs{/sha}","trees_url":"https://api.github.com/repos/Xwebyna/banka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Xwebyna/banka/statuses/{sha}","languages_url":"https://api.github.com/repos/Xwebyna/banka/languages","stargazers_url":"https://api.github.com/repos/Xwebyna/banka/stargazers","contributors_url":"https://api.github.com/repos/Xwebyna/banka/contributors","subscribers_url":"https://api.github.com/repos/Xwebyna/banka/subscribers","subscription_url":"https://api.github.com/repos/Xwebyna/banka/subscription","commits_url":"https://api.github.com/repos/Xwebyna/banka/commits{/sha}","git_commits_url":"https://api.github.com/repos/Xwebyna/banka/git/commits{/sha}","comments_url":"https://api.github.com/repos/Xwebyna/banka/comments{/number}","issue_comment_url":"https://api.github.com/repos/Xwebyna/banka/issues/comments{/number}","contents_url":"https://api.github.com/repos/Xwebyna/banka/contents/{+path}","compare_url":"https://api.github.com/repos/Xwebyna/banka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Xwebyna/banka/merges","archive_url":"https://api.github.com/repos/Xwebyna/banka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Xwebyna/banka/downloads","issues_url":"https://api.github.com/repos/Xwebyna/banka/issues{/number}","pulls_url":"https://api.github.com/repos/Xwebyna/banka/pulls{/number}","milestones_url":"https://api.github.com/repos/Xwebyna/banka/milestones{/number}","notifications_url":"https://api.github.com/repos/Xwebyna/banka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Xwebyna/banka/labels{/name}","releases_url":"https://api.github.com/repos/Xwebyna/banka/releases{/id}","deployments_url":"https://api.github.com/repos/Xwebyna/banka/deployments","created_at":"2019-03-18T16:40:53Z","updated_at":"2019-04-11T14:41:57Z","pushed_at":"2019-04-12T01:08:24Z","git_url":"git://github.com/Xwebyna/banka.git","ssh_url":"git@github.com:Xwebyna/banka.git","clone_url":"https://github.com/Xwebyna/banka.git","svn_url":"https://github.com/Xwebyna/banka","homepage":null,"size":345,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/Xwebyna/banka/pulls/25"},"html":{"href":"https://github.com/Xwebyna/banka/pull/25"},"issue":{"href":"https://api.github.com/repos/Xwebyna/banka/issues/25"},"comments":{"href":"https://api.github.com/repos/Xwebyna/banka/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/Xwebyna/banka/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/Xwebyna/banka/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Xwebyna/banka/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/Xwebyna/banka/statuses/3eb4042bf3441907a23efe84737b65eead6e8257"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Xwebyna","id":42908597,"node_id":"MDQ6VXNlcjQyOTA4NTk3","avatar_url":"https://avatars2.githubusercontent.com/u/42908597?v=4","gravatar_id":"","url":"https://api.github.com/users/Xwebyna","html_url":"https://github.com/Xwebyna","followers_url":"https://api.github.com/users/Xwebyna/followers","following_url":"https://api.github.com/users/Xwebyna/following{/other_user}","gists_url":"https://api.github.com/users/Xwebyna/gists{/gist_id}","starred_url":"https://api.github.com/users/Xwebyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xwebyna/subscriptions","organizations_url":"https://api.github.com/users/Xwebyna/orgs","repos_url":"https://api.github.com/users/Xwebyna/repos","events_url":"https://api.github.com/users/Xwebyna/events{/privacy}","received_events_url":"https://api.github.com/users/Xwebyna/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":81,"deletions":5,"changed_files":5}}
{"actor":{"display_login":"Xwebyna"}}