lib/flows/plugin/output_contract.rb in flows-0.4.0 vs lib/flows/plugin/output_contract.rb in flows-0.5.0

- old
+ new

@@ -20,9 +20,10 @@ # Plugin provides DSL to express expected result statuses and assigned contracts. # Contracts definition reuses {Contract.make} to execute block and get a contract. # # * `success_with(status, &block)` - defines contract for a successful result with status `status`. # * `failure_with(status, &block)` - defines contract for a failure result with status `status`. + # * `skip_output_contract` - disables contract check and transformation for current class and children. # # @example with one possible output contract # class DoJob # include Flows::Result::Helpers # include Flows::Plugin::OutputContract