@Aut I made a Result class for a Rails project and it makes business logic SO much nicer to grok. Looks very similar to this.