Class: CanTango::Permits::RoleGroupPermit::Finder
- Inherits:
-
CanTango::PermitEngine::Finder
- Object
- CanTango::PermitEngine::Finder
- CanTango::Permits::RoleGroupPermit::Finder
- Defined in:
- lib/cantango/permits/role_group_permit/finder.rb
Instance Attribute Summary
Attributes inherited from CanTango::PermitEngine::Finder
Instance Method Summary collapse
-
#initialize(account, name) ⇒ Finder
constructor
A new instance of Finder.
- #permit_class ⇒ Object
- #type ⇒ Object
Methods inherited from CanTango::PermitEngine::Finder
Methods included from Helpers::Debug
Constructor Details
#initialize(account, name) ⇒ Finder
Returns a new instance of Finder.
6 7 8 |
# File 'lib/cantango/permits/role_group_permit/finder.rb', line 6 def initialize account, name super end |
Instance Method Details
#permit_class ⇒ Object
14 15 16 |
# File 'lib/cantango/permits/role_group_permit/finder.rb', line 14 def permit_class "#{name.to_s.camelize}RoleGroupPermit" end |
#type ⇒ Object
10 11 12 |
# File 'lib/cantango/permits/role_group_permit/finder.rb', line 10 def type :role_group end |