Class: Ability::WfsResourceType
- Inherits:
-
Permission::ResourceType
- Object
- Permission::ResourceType
- Ability::WfsResourceType
- Defined in:
- app/models/ability.rb
Overview
Instance Method Summary collapse
- #actions ⇒ Object
-
#initialize ⇒ WfsResourceType
constructor
A new instance of WfsResourceType.
Methods inherited from Permission::ResourceType
#add_ability, #compare, for_class, #has_resource_list?, #resources, #role_can?, #roles_can?, #roles_permissions
Constructor Details
#initialize ⇒ WfsResourceType
Returns a new instance of WfsResourceType.
68 69 70 |
# File 'app/models/ability.rb', line 68 def initialize super(Wfs, 'Wfs') end |
Instance Method Details
#actions ⇒ Object
72 73 74 75 76 |
# File 'app/models/ability.rb', line 72 def actions [ :show #WFS access ] end |