This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # frozen_string_literal: true | |
| class BaseOperation | |
| # DSL method to create wrapped operations with a transaction | |
| # Creates both #some_action and #some_action! method versions | |
| # A 'bang' version of a method does not process validation exceptions (to bubble up) | |
| # | |
| # All block arguments are converted to a method params | |
| # | |
| # Examples: |
OlderNewer