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.
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.