{"action":"created","issue":{"url":"https://api.github.com/repos/ThoughtWorksInc/registrolivre/issues/79","labels_url":"https://api.github.com/repos/ThoughtWorksInc/registrolivre/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/ThoughtWorksInc/registrolivre/issues/79/comments","events_url":"https://api.github.com/repos/ThoughtWorksInc/registrolivre/issues/79/events","html_url":"https://github.com/ThoughtWorksInc/registrolivre/issues/79","id":119101159,"number":79,"title":"Tirar lógica de negócio do Controller","user":{"login":"brunapereira","id":4603866,"avatar_url":"https://avatars.githubusercontent.com/u/4603866?v=3","gravatar_id":"","url":"https://api.github.com/users/brunapereira","html_url":"https://github.com/brunapereira","followers_url":"https://api.github.com/users/brunapereira/followers","following_url":"https://api.github.com/users/brunapereira/following{/other_user}","gists_url":"https://api.github.com/users/brunapereira/gists{/gist_id}","starred_url":"https://api.github.com/users/brunapereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunapereira/subscriptions","organizations_url":"https://api.github.com/users/brunapereira/orgs","repos_url":"https://api.github.com/users/brunapereira/repos","events_url":"https://api.github.com/users/brunapereira/events{/privacy}","received_events_url":"https://api.github.com/users/brunapereira/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ThoughtWorksInc/registrolivre/labels/Ready","name":"Ready","color":"ededed"},{"url":"https://api.github.com/repos/ThoughtWorksInc/registrolivre/labels/Refactoring","name":"Refactoring","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-26T20:51:46Z","updated_at":"2015-12-28T10:59:19Z","closed_at":null,"body":"Temos lógica no new-company-controller. Essa lógica pode ser transferida para o factory companies porque o controller não deve lidar com lógicas do negócio."},"comment":{"url":"https://api.github.com/repos/ThoughtWorksInc/registrolivre/issues/comments/167542402","html_url":"https://github.com/ThoughtWorksInc/registrolivre/issues/79#issuecomment-167542402","issue_url":"https://api.github.com/repos/ThoughtWorksInc/registrolivre/issues/79","id":167542402,"user":{"login":"gpiress","id":16224631,"avatar_url":"https://avatars.githubusercontent.com/u/16224631?v=3","gravatar_id":"","url":"https://api.github.com/users/gpiress","html_url":"https://github.com/gpiress","followers_url":"https://api.github.com/users/gpiress/followers","following_url":"https://api.github.com/users/gpiress/following{/other_user}","gists_url":"https://api.github.com/users/gpiress/gists{/gist_id}","starred_url":"https://api.github.com/users/gpiress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpiress/subscriptions","organizations_url":"https://api.github.com/users/gpiress/orgs","repos_url":"https://api.github.com/users/gpiress/repos","events_url":"https://api.github.com/users/gpiress/events{/privacy}","received_events_url":"https://api.github.com/users/gpiress/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T10:59:19Z","updated_at":"2015-12-28T10:59:19Z","body":"Eu acho que a Bruna já fez essa história, dei uma olhada no new-company-controller e não parece ter lógica de negócio nele."}}