policygenius / chief

Simple command object pattern for Ruby
MIT License
3 stars 1 forks source link

Enforce good practice v2 #9

Closed smeriwether closed 6 years ago

smeriwether commented 6 years ago

A previous commit said that all commands now require a call to success! or fail! and would fail if not. Unfortunately, that was only true when using a command in the form CommandName.call but not CommandName.new.call. This PR fixes that.

smeriwether commented 6 years ago

Closing in favor of: https://github.com/policygenius/chief/pull/10