{"action":"closed","issue":{"url":"https://api.github.com/repos/phxql/restwars/issues/12","labels_url":"https://api.github.com/repos/phxql/restwars/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/phxql/restwars/issues/12/comments","events_url":"https://api.github.com/repos/phxql/restwars/issues/12/events","html_url":"https://github.com/phxql/restwars/issues/12","id":53259374,"number":12,"title":"Refactor ShipType, BuildingType, TechnologyType","user":{"login":"phxql","id":700033,"avatar_url":"https://avatars.githubusercontent.com/u/700033?v=3","gravatar_id":"","url":"https://api.github.com/users/phxql","html_url":"https://github.com/phxql","followers_url":"https://api.github.com/users/phxql/followers","following_url":"https://api.github.com/users/phxql/following{/other_user}","gists_url":"https://api.github.com/users/phxql/gists{/gist_id}","starred_url":"https://api.github.com/users/phxql/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phxql/subscriptions","organizations_url":"https://api.github.com/users/phxql/orgs","repos_url":"https://api.github.com/users/phxql/repos","events_url":"https://api.github.com/users/phxql/events{/privacy}","received_events_url":"https://api.github.com/users/phxql/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phxql/restwars/labels/code%20smell","name":"code smell","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-02T15:51:00Z","updated_at":"2015-01-24T12:18:28Z","closed_at":"2015-01-24T12:18:28Z","body":"The build time, build cost etc. for buildings and technologies is calculated in the services. For the ships, these values are hardcoded in the Enum. Choose one implementation location and refactor the non-compliant class(es)."}}