{"action":"created","issue":{"url":"https://api.github.com/repos/visualitypl/textris/issues/26","repository_url":"https://api.github.com/repos/visualitypl/textris","labels_url":"https://api.github.com/repos/visualitypl/textris/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/visualitypl/textris/issues/26/comments","events_url":"https://api.github.com/repos/visualitypl/textris/issues/26/events","html_url":"https://github.com/visualitypl/textris/pull/26","id":187701559,"number":26,"title":"Initial support for sending SMS from short codes","user":{"login":"philnash","id":31462,"avatar_url":"https://avatars.githubusercontent.com/u/31462?v=3","gravatar_id":"","url":"https://api.github.com/users/philnash","html_url":"https://github.com/philnash","followers_url":"https://api.github.com/users/philnash/followers","following_url":"https://api.github.com/users/philnash/following{/other_user}","gists_url":"https://api.github.com/users/philnash/gists{/gist_id}","starred_url":"https://api.github.com/users/philnash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philnash/subscriptions","organizations_url":"https://api.github.com/users/philnash/orgs","repos_url":"https://api.github.com/users/philnash/repos","events_url":"https://api.github.com/users/philnash/events{/privacy}","received_events_url":"https://api.github.com/users/philnash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-07T12:39:17Z","updated_at":"2016-11-07T14:34:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/visualitypl/textris/pulls/26","html_url":"https://github.com/visualitypl/textris/pull/26","diff_url":"https://github.com/visualitypl/textris/pull/26.diff","patch_url":"https://github.com/visualitypl/textris/pull/26.patch"},"body":"This should fix #25.\r\n\r\nI have included an `is_short_code?` method that does a basic check on whether a number looks like a short code. In this case, that is simply whether it is a 5 or 6 digit long number. There are more restrictions on short codes than that, however this is a start and the assumption is that users would know what short code they are using along with the restrictions around it (i.e. no international messages).\r\n\r\nI've started a `Utils` class for the `is_short_code?` method as it was needed in two places. `Utils` is not a great name but I couldn't think of anything better right now."},"comment":{"url":"https://api.github.com/repos/visualitypl/textris/issues/comments/258850982","html_url":"https://github.com/visualitypl/textris/pull/26#issuecomment-258850982","issue_url":"https://api.github.com/repos/visualitypl/textris/issues/26","id":258850982,"user":{"login":"rylanb","id":435953,"avatar_url":"https://avatars.githubusercontent.com/u/435953?v=3","gravatar_id":"","url":"https://api.github.com/users/rylanb","html_url":"https://github.com/rylanb","followers_url":"https://api.github.com/users/rylanb/followers","following_url":"https://api.github.com/users/rylanb/following{/other_user}","gists_url":"https://api.github.com/users/rylanb/gists{/gist_id}","starred_url":"https://api.github.com/users/rylanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rylanb/subscriptions","organizations_url":"https://api.github.com/users/rylanb/orgs","repos_url":"https://api.github.com/users/rylanb/repos","events_url":"https://api.github.com/users/rylanb/events{/privacy}","received_events_url":"https://api.github.com/users/rylanb/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T14:34:30Z","updated_at":"2016-11-07T14:34:30Z","body":"Works locally just copy/pasting into local files in the gem. 👍 "}}
{"actor":{"display_login":"rylanb"}}