Class: CanTango::Builder::Permit::AccountType
- Defined in:
- lib/cantango/permits_ext/builder/permit/account_type.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#build ⇒ Array<RoleGroupPermit::Base>
builds a list of Permits for each role of the current ability user (or account).
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 ⇒ Array<RoleGroupPermit::Base>
builds a list of Permits for each role of the current ability user (or account)
6 7 8 9 |
# File 'lib/cantango/permits_ext/builder/permit/account_type.rb', line 6 def build return [] if !account super end |