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 |
# File 'lib/muffin/frostings/execution.rb', line 3 def call return false unless valid? permit! perform if respond_to? :perform end |
#call! ⇒ Object
9 10 11 12 13 |
# File 'lib/muffin/frostings/execution.rb', line 9 def call! validate! permit! perform if respond_to? :perform end |