Class: Ability::WfsResourceType

Inherits:
Permission::ResourceType show all
Defined in:
app/models/ability.rb

Overview


Instance Method Summary collapse

Methods inherited from Permission::ResourceType

#add_ability, #compare, for_class, #has_resource_list?, #resources, #role_can?, #roles_can?, #roles_permissions

Constructor Details

#initializeWfsResourceType

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

#actionsObject



72
73
74
75
76
# File 'app/models/ability.rb', line 72

def actions
  [
    :show  #WFS access
  ]
end