{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/semian/issues/63","labels_url":"https://api.github.com/repos/Shopify/semian/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/semian/issues/63/comments","events_url":"https://api.github.com/repos/Shopify/semian/issues/63/events","html_url":"https://github.com/Shopify/semian/pull/63","id":116361504,"number":63,"title":"Encaspsulate Simple::Enum","user":{"login":"byroot","id":44640,"avatar_url":"https://avatars.githubusercontent.com/u/44640?v=3","gravatar_id":"","url":"https://api.github.com/users/byroot","html_url":"https://github.com/byroot","followers_url":"https://api.github.com/users/byroot/followers","following_url":"https://api.github.com/users/byroot/following{/other_user}","gists_url":"https://api.github.com/users/byroot/gists{/gist_id}","starred_url":"https://api.github.com/users/byroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byroot/subscriptions","organizations_url":"https://api.github.com/users/byroot/orgs","repos_url":"https://api.github.com/users/byroot/repos","events_url":"https://api.github.com/users/byroot/events{/privacy}","received_events_url":"https://api.github.com/users/byroot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-11T15:46:18Z","updated_at":"2015-11-11T21:54:14Z","closed_at":"2015-11-11T21:11:43Z","pull_request":{"url":"https://api.github.com/repos/Shopify/semian/pulls/63","html_url":"https://github.com/Shopify/semian/pull/63","diff_url":"https://github.com/Shopify/semian/pull/63.diff","patch_url":"https://github.com/Shopify/semian/pull/63.patch"},"body":"Here's what I'm trying to express since the beginning. This class should properly encapsulate it's state, and only expose meaningful state transitions.\r\n\r\nYour version is way more complicated, just because you can't stop thinking about SysV. \r\n\r\nPS: I don't think Enum is a proper name. `State` or `StateMachine` is probably better. But this is just a sketch anyway.\r\n\r\n@kyewei /cc @fw42 @Sirupsen "},"comment":{"url":"https://api.github.com/repos/Shopify/semian/issues/comments/155921592","html_url":"https://github.com/Shopify/semian/pull/63#issuecomment-155921592","issue_url":"https://api.github.com/repos/Shopify/semian/issues/63","id":155921592,"user":{"login":"Sirupsen","id":97400,"avatar_url":"https://avatars.githubusercontent.com/u/97400?v=3","gravatar_id":"","url":"https://api.github.com/users/Sirupsen","html_url":"https://github.com/Sirupsen","followers_url":"https://api.github.com/users/Sirupsen/followers","following_url":"https://api.github.com/users/Sirupsen/following{/other_user}","gists_url":"https://api.github.com/users/Sirupsen/gists{/gist_id}","starred_url":"https://api.github.com/users/Sirupsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sirupsen/subscriptions","organizations_url":"https://api.github.com/users/Sirupsen/orgs","repos_url":"https://api.github.com/users/Sirupsen/repos","events_url":"https://api.github.com/users/Sirupsen/events{/privacy}","received_events_url":"https://api.github.com/users/Sirupsen/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T21:54:14Z","updated_at":"2015-11-11T21:54:14Z","body":"@byroot thumbs up for writing this PR, was really helpful for the review :+1: "}}