Class: CanTango::PermitEngine::Executor::Base
- Defined in:
- lib/cantango/permit_engine/executor/base.rb
Instance Attribute Summary
Attributes inherited from Abstract
Instance Method Summary collapse
-
#execute! ⇒ Object
execute the permit.
Methods inherited from Abstract
Methods included from Helpers::Debug
Constructor Details
This class inherits a constructor from CanTango::PermitEngine::Executor::Abstract
Instance Method Details
#execute! ⇒ Object
execute the permit
6 7 8 |
# File 'lib/cantango/permit_engine/executor/base.rb', line 6 def execute! valid_for?(subject) ? permit? : not_candidate_permit end |