Class: Ability

Inherits:
Object
  • Object
show all
Extended by:
Permissify::AbilityClass, SystemFixtures::Abilities
Defined in:
lib/generators/permissify/ability/template/ability.rb

Overview

NOTE : this could be an activerecord, does not need to be.

  • requires implementation of ‘seed’ interface method : see SystemFixtures::Abilities

Method Summary

Methods included from Permissify::AbilityClass

actions, add, add_category, all, all_for, create_permissions_hash, current, current_permissions_hash, get, key_for, remove_permission, remove_permissions, reset