Class: Ability::WmsResourceType
- Inherits:
-
Permission::ResourceType
- Object
- Permission::ResourceType
- Ability::WmsResourceType
- Defined in:
- app/models/ability.rb
Overview
Instance Method Summary collapse
- #actions ⇒ Object
-
#initialize ⇒ WmsResourceType
constructor
A new instance of WmsResourceType.
Methods inherited from Permission::ResourceType
#add_ability, #compare, for_class, #has_resource_list?, #resources, #role_can?, #roles_can?, #roles_permissions
Constructor Details
#initialize ⇒ WmsResourceType
Returns a new instance of WmsResourceType.
52 53 54 |
# File 'app/models/ability.rb', line 52 def initialize super(Wms, 'Wms') end |
Instance Method Details
#actions ⇒ Object
56 57 58 59 60 |
# File 'app/models/ability.rb', line 56 def actions [ :show #WMS access ] end |