Module: Muffin::Execution
- Included in:
- Base
- Defined in:
- lib/muffin/frostings/execution.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
3 4 5 6 7 8 |
# File 'lib/muffin/frostings/execution.rb', line 3 def call return false unless valid? permit! perform if respond_to? :perform true end |
#call! ⇒ Object
10 11 12 13 14 |
# File 'lib/muffin/frostings/execution.rb', line 10 def call! validate! permit! perform if respond_to? :perform end |