Class: CanTango::PermitEngine::Builder::Base
- Inherits:
-
Object
- Object
- CanTango::PermitEngine::Builder::Base
- Includes:
- Helpers::Debug
- Defined in:
- lib/cantango/permit_engine/builder/base.rb
Direct Known Subclasses
SpecialPermits, CanTango::Permits::AccountPermit::Builder, CanTango::Permits::RoleGroupPermit::Builder, CanTango::Permits::RolePermit::Builder, CanTango::Permits::UserPermit::Builder
Instance Attribute Summary collapse
-
#ability ⇒ Object
Returns the value of attribute ability.
Instance Method Summary collapse
-
#initialize(ability) ⇒ Base
constructor
creates the factory for the ability note that the ability contains the roles and role groups of the user (or account).
Methods included from Helpers::Debug
Constructor Details
#initialize(ability) ⇒ Base
creates the factory for the ability note that the ability contains the roles and role groups of the user (or account)
14 15 16 |
# File 'lib/cantango/permit_engine/builder/base.rb', line 14 def initialize ability @ability = ability end |
Instance Attribute Details
#ability ⇒ Object
Returns the value of attribute ability.
9 10 11 |
# File 'lib/cantango/permit_engine/builder/base.rb', line 9 def ability @ability end |