{"action":"opened","issue":{"url":"https://api.github.com/repos/GateprotectGmbH/sparrow/issues/7","labels_url":"https://api.github.com/repos/GateprotectGmbH/sparrow/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/GateprotectGmbH/sparrow/issues/7/comments","events_url":"https://api.github.com/repos/GateprotectGmbH/sparrow/issues/7/events","html_url":"https://github.com/GateprotectGmbH/sparrow/issues/7","id":90108532,"number":7,"title":"Refactor steward.rb","user":{"login":"enricogenauck","id":159997,"avatar_url":"https://avatars.githubusercontent.com/u/159997?v=3","gravatar_id":"","url":"https://api.github.com/users/enricogenauck","html_url":"https://github.com/enricogenauck","followers_url":"https://api.github.com/users/enricogenauck/followers","following_url":"https://api.github.com/users/enricogenauck/following{/other_user}","gists_url":"https://api.github.com/users/enricogenauck/gists{/gist_id}","starred_url":"https://api.github.com/users/enricogenauck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enricogenauck/subscriptions","organizations_url":"https://api.github.com/users/enricogenauck/orgs","repos_url":"https://api.github.com/users/enricogenauck/repos","events_url":"https://api.github.com/users/enricogenauck/events{/privacy}","received_events_url":"https://api.github.com/users/enricogenauck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GateprotectGmbH/sparrow/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-22T14:10:12Z","updated_at":"2015-06-22T14:10:12Z","closed_at":null,"body":"Currently steward.rb encapsulates some detail-oriented helper methods from middleware.rb. I think, the functionality of those helper methods could also be encapsulated in first class citizen objects like \"header\" or \"content_type\". This way we could eliminate the need for utility classes like steward and move the refactoring forward with more semantically valuable objects."}}