{"action":"created","issue":{"url":"https://api.github.com/repos/swarmsim/swarm/issues/59","labels_url":"https://api.github.com/repos/swarmsim/swarm/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/swarmsim/swarm/issues/59/comments","events_url":"https://api.github.com/repos/swarmsim/swarm/issues/59/events","html_url":"https://github.com/swarmsim/swarm/issues/59","id":41800672,"number":59,"title":"refactor prod/cost","user":{"login":"erosson","id":238846,"avatar_url":"https://avatars.githubusercontent.com/u/238846?v=3","gravatar_id":"","url":"https://api.github.com/users/erosson","html_url":"https://github.com/erosson","followers_url":"https://api.github.com/users/erosson/followers","following_url":"https://api.github.com/users/erosson/following{/other_user}","gists_url":"https://api.github.com/users/erosson/gists{/gist_id}","starred_url":"https://api.github.com/users/erosson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erosson/subscriptions","organizations_url":"https://api.github.com/users/erosson/orgs","repos_url":"https://api.github.com/users/erosson/repos","events_url":"https://api.github.com/users/erosson/events{/privacy}","received_events_url":"https://api.github.com/users/erosson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swarmsim/swarm/labels/refactor","name":"refactor","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/swarmsim/swarm/milestones/5","html_url":"https://github.com/swarmsim/swarm/milestones/eventually","labels_url":"https://api.github.com/repos/swarmsim/swarm/milestones/5/labels","id":770846,"number":5,"title":"eventually","description":"","creator":{"login":"erosson","id":238846,"avatar_url":"https://avatars.githubusercontent.com/u/238846?v=3","gravatar_id":"","url":"https://api.github.com/users/erosson","html_url":"https://github.com/erosson","followers_url":"https://api.github.com/users/erosson/followers","following_url":"https://api.github.com/users/erosson/following{/other_user}","gists_url":"https://api.github.com/users/erosson/gists{/gist_id}","starred_url":"https://api.github.com/users/erosson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erosson/subscriptions","organizations_url":"https://api.github.com/users/erosson/orgs","repos_url":"https://api.github.com/users/erosson/repos","events_url":"https://api.github.com/users/erosson/events{/privacy}","received_events_url":"https://api.github.com/users/erosson/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":14,"state":"open","created_at":"2014-08-29T09:58:48Z","updated_at":"2015-04-06T05:14:13Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2014-09-03T10:10:23Z","updated_at":"2015-04-06T05:14:13Z","closed_at":"2015-04-06T05:14:13Z","body":"right now, units have a bunch of prod/cost-related functions stuck on them, which return different variations of prod/cost json. it would be better to have Prod/Cost classes with these functions. could probably share the same cost class for upgrades and units."},"comment":{"url":"https://api.github.com/repos/swarmsim/swarm/issues/comments/89922616","html_url":"https://github.com/swarmsim/swarm/issues/59#issuecomment-89922616","issue_url":"https://api.github.com/repos/swarmsim/swarm/issues/59","id":89922616,"user":{"login":"erosson","id":238846,"avatar_url":"https://avatars.githubusercontent.com/u/238846?v=3","gravatar_id":"","url":"https://api.github.com/users/erosson","html_url":"https://github.com/erosson","followers_url":"https://api.github.com/users/erosson/followers","following_url":"https://api.github.com/users/erosson/following{/other_user}","gists_url":"https://api.github.com/users/erosson/gists{/gist_id}","starred_url":"https://api.github.com/users/erosson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erosson/subscriptions","organizations_url":"https://api.github.com/users/erosson/orgs","repos_url":"https://api.github.com/users/erosson/repos","events_url":"https://api.github.com/users/erosson/events{/privacy}","received_events_url":"https://api.github.com/users/erosson/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T05:14:13Z","updated_at":"2015-04-06T05:14:13Z","body":"this was refactored a while ago"}}