Class: CanTango::Executor::Permit::Base

Inherits:
Abstract
  • Object
show all
Defined in:
lib/cantango/executor/permit/base.rb

Direct Known Subclasses

Special

Instance Attribute Summary

Attributes inherited from Abstract

#permit

Instance Method Summary collapse

Methods inherited from Abstract

#initialize

Constructor Details

This class inherits a constructor from CanTango::Executor::Permit::Abstract

Instance Method Details

#execute!Object

execute the permit



6
7
8
9
# File 'lib/cantango/executor/permit/base.rb', line 6

def execute!
  not_valid_permit and return unless permit.valid?
  super
end