Class: CanTango::Builder::Permit::Special
- Defined in:
- lib/cantango/permits_ext/builder/permit/special.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Permit::Helper::Naming
#account_name, #permit_name, #permit_type
Constructor Details
This class inherits a constructor from CanTango::Builder::Permit::Base
Instance Method Details
#build ⇒ Object
4 5 6 |
# File 'lib/cantango/permits_ext/builder/permit/special.rb', line 4 def build special_permits.map{|name| create_permit(name) }.compact end |
#special_permits ⇒ Object
8 9 10 |
# File 'lib/cantango/permits_ext/builder/permit/special.rb', line 8 def special_permits [:system, :any] end |