{"action":"created","issue":{"url":"https://api.github.com/repos/vend-io/vend.io/issues/2","repository_url":"https://api.github.com/repos/vend-io/vend.io","labels_url":"https://api.github.com/repos/vend-io/vend.io/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/vend-io/vend.io/issues/2/comments","events_url":"https://api.github.com/repos/vend-io/vend.io/issues/2/events","html_url":"https://github.com/vend-io/vend.io/issues/2","id":188949309,"number":2,"title":"Docs: State Diagram","user":{"login":"iwatakeshi","id":1505448,"avatar_url":"https://avatars.githubusercontent.com/u/1505448?v=3","gravatar_id":"","url":"https://api.github.com/users/iwatakeshi","html_url":"https://github.com/iwatakeshi","followers_url":"https://api.github.com/users/iwatakeshi/followers","following_url":"https://api.github.com/users/iwatakeshi/following{/other_user}","gists_url":"https://api.github.com/users/iwatakeshi/gists{/gist_id}","starred_url":"https://api.github.com/users/iwatakeshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwatakeshi/subscriptions","organizations_url":"https://api.github.com/users/iwatakeshi/orgs","repos_url":"https://api.github.com/users/iwatakeshi/repos","events_url":"https://api.github.com/users/iwatakeshi/events{/privacy}","received_events_url":"https://api.github.com/users/iwatakeshi/received_events","type":"User","site_admin":false},"labels":[{"id":480476914,"url":"https://api.github.com/repos/vend-io/vend.io/labels/todo","name":"todo","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"iwatakeshi","id":1505448,"avatar_url":"https://avatars.githubusercontent.com/u/1505448?v=3","gravatar_id":"","url":"https://api.github.com/users/iwatakeshi","html_url":"https://github.com/iwatakeshi","followers_url":"https://api.github.com/users/iwatakeshi/followers","following_url":"https://api.github.com/users/iwatakeshi/following{/other_user}","gists_url":"https://api.github.com/users/iwatakeshi/gists{/gist_id}","starred_url":"https://api.github.com/users/iwatakeshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwatakeshi/subscriptions","organizations_url":"https://api.github.com/users/iwatakeshi/orgs","repos_url":"https://api.github.com/users/iwatakeshi/repos","events_url":"https://api.github.com/users/iwatakeshi/events{/privacy}","received_events_url":"https://api.github.com/users/iwatakeshi/received_events","type":"User","site_admin":false},"assignees":[{"login":"iwatakeshi","id":1505448,"avatar_url":"https://avatars.githubusercontent.com/u/1505448?v=3","gravatar_id":"","url":"https://api.github.com/users/iwatakeshi","html_url":"https://github.com/iwatakeshi","followers_url":"https://api.github.com/users/iwatakeshi/followers","following_url":"https://api.github.com/users/iwatakeshi/following{/other_user}","gists_url":"https://api.github.com/users/iwatakeshi/gists{/gist_id}","starred_url":"https://api.github.com/users/iwatakeshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwatakeshi/subscriptions","organizations_url":"https://api.github.com/users/iwatakeshi/orgs","repos_url":"https://api.github.com/users/iwatakeshi/repos","events_url":"https://api.github.com/users/iwatakeshi/events{/privacy}","received_events_url":"https://api.github.com/users/iwatakeshi/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/vend-io/vend.io/milestones/1","html_url":"https://github.com/vend-io/vend.io/milestones/v1.0.0","labels_url":"https://api.github.com/repos/vend-io/vend.io/milestones/1/labels","id":2131446,"number":1,"title":"v1.0.0","description":"","creator":{"login":"iwatakeshi","id":1505448,"avatar_url":"https://avatars.githubusercontent.com/u/1505448?v=3","gravatar_id":"","url":"https://api.github.com/users/iwatakeshi","html_url":"https://github.com/iwatakeshi","followers_url":"https://api.github.com/users/iwatakeshi/followers","following_url":"https://api.github.com/users/iwatakeshi/following{/other_user}","gists_url":"https://api.github.com/users/iwatakeshi/gists{/gist_id}","starred_url":"https://api.github.com/users/iwatakeshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwatakeshi/subscriptions","organizations_url":"https://api.github.com/users/iwatakeshi/orgs","repos_url":"https://api.github.com/users/iwatakeshi/repos","events_url":"https://api.github.com/users/iwatakeshi/events{/privacy}","received_events_url":"https://api.github.com/users/iwatakeshi/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2016-11-13T03:13:06Z","updated_at":"2016-11-23T02:06:34Z","due_on":"2016-11-19T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-11-13T03:13:34Z","updated_at":"2016-11-24T06:17:39Z","closed_at":null,"body":"We'll need to complete a state diagram for the framework."},"comment":{"url":"https://api.github.com/repos/vend-io/vend.io/issues/comments/262698747","html_url":"https://github.com/vend-io/vend.io/issues/2#issuecomment-262698747","issue_url":"https://api.github.com/repos/vend-io/vend.io/issues/2","id":262698747,"user":{"login":"iwatakeshi","id":1505448,"avatar_url":"https://avatars.githubusercontent.com/u/1505448?v=3","gravatar_id":"","url":"https://api.github.com/users/iwatakeshi","html_url":"https://github.com/iwatakeshi","followers_url":"https://api.github.com/users/iwatakeshi/followers","following_url":"https://api.github.com/users/iwatakeshi/following{/other_user}","gists_url":"https://api.github.com/users/iwatakeshi/gists{/gist_id}","starred_url":"https://api.github.com/users/iwatakeshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwatakeshi/subscriptions","organizations_url":"https://api.github.com/users/iwatakeshi/orgs","repos_url":"https://api.github.com/users/iwatakeshi/repos","events_url":"https://api.github.com/users/iwatakeshi/events{/privacy}","received_events_url":"https://api.github.com/users/iwatakeshi/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T06:17:39Z","updated_at":"2016-11-24T06:17:39Z","body":"@metaphorshear Nice work. 👍  I do think there's a lot going on but check me to see if I understand this correctly:\r\n\r\n*Machine turns on:*\r\nStart -> Idle \r\n\r\n*User selects an item:*\r\nIdle -> Display Info\r\n**Note**: I think we should put it back to Idle state after x seconds or not transition at all (as I have in code).\r\n\r\n*User pays with cash, card etc*\r\nIdle -> Display Info\r\n**Note**: I'm starting to think that Display Info shouldn't be a state. I think renaming it to Accumulate (if you want to follow page 400) or HasMoneyState (as I have in code) would be better.\r\n\r\n*User meets sufficient funds*\r\nDisplay Info (or another name) -> Vend Item (or simply Vend)\r\n\r\n*User does not have supported currency*\r\nDisplay Info -> Return Fund (or Refund)\r\n**Note**: I think you meant to use a guard (page 400) instead of an event.\r\n\r\nFor self checks: I think that's out of scope especially because we don't have much time.\r\nFor Service mode: I really think we are out of time to implement this but its your call :).\r\n"}}
{"actor":{"display_login":"iwatakeshi"}}