{"action":"created","issue":{"url":"https://api.github.com/repos/jimsparkman/RiotControl/issues/21","labels_url":"https://api.github.com/repos/jimsparkman/RiotControl/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/jimsparkman/RiotControl/issues/21/comments","events_url":"https://api.github.com/repos/jimsparkman/RiotControl/issues/21/events","html_url":"https://github.com/jimsparkman/RiotControl/issues/21","id":108051970,"number":21,"title":"Add 'reset' or 'destroy' method","user":{"login":"fishermand46","id":4316002,"avatar_url":"https://avatars.githubusercontent.com/u/4316002?v=3","gravatar_id":"","url":"https://api.github.com/users/fishermand46","html_url":"https://github.com/fishermand46","followers_url":"https://api.github.com/users/fishermand46/followers","following_url":"https://api.github.com/users/fishermand46/following{/other_user}","gists_url":"https://api.github.com/users/fishermand46/gists{/gist_id}","starred_url":"https://api.github.com/users/fishermand46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishermand46/subscriptions","organizations_url":"https://api.github.com/users/fishermand46/orgs","repos_url":"https://api.github.com/users/fishermand46/repos","events_url":"https://api.github.com/users/fishermand46/events{/privacy}","received_events_url":"https://api.github.com/users/fishermand46/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-24T03:46:40Z","updated_at":"2015-09-24T12:48:33Z","closed_at":null,"body":"When testing, it is very nice to be able to reset your global dispatch object (in this case RiotControl).\r\n\r\nWe could add a method `destroy` which would probably just set the internal stores variable equal to `[]`.\r\n\r\nI'd be happy to open a PR if this is something you think would be worth adding."},"comment":{"url":"https://api.github.com/repos/jimsparkman/RiotControl/issues/comments/142917920","html_url":"https://github.com/jimsparkman/RiotControl/issues/21#issuecomment-142917920","issue_url":"https://api.github.com/repos/jimsparkman/RiotControl/issues/21","id":142917920,"user":{"login":"jimsparkman","id":6545560,"avatar_url":"https://avatars.githubusercontent.com/u/6545560?v=3","gravatar_id":"","url":"https://api.github.com/users/jimsparkman","html_url":"https://github.com/jimsparkman","followers_url":"https://api.github.com/users/jimsparkman/followers","following_url":"https://api.github.com/users/jimsparkman/following{/other_user}","gists_url":"https://api.github.com/users/jimsparkman/gists{/gist_id}","starred_url":"https://api.github.com/users/jimsparkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimsparkman/subscriptions","organizations_url":"https://api.github.com/users/jimsparkman/orgs","repos_url":"https://api.github.com/users/jimsparkman/repos","events_url":"https://api.github.com/users/jimsparkman/events{/privacy}","received_events_url":"https://api.github.com/users/jimsparkman/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T12:48:33Z","updated_at":"2015-09-24T12:48:33Z","body":"I think it's a good idea, it is worth adding. Send me a PR and I'll merge it."}}