Class: Role

Inherits:
ApplicationRecord
  • Object
show all
Includes:
TheRole::Api::Role
Defined in:
app/models/_templates_/role.rb

Method Summary

Methods included from TheRole::Api::Role

#_jsonable, #create_rule, #create_section, #delete_rule, #delete_section, #has_section?, #role_hash, #rule_off, #rule_on, #the_role=, #to_hash, #to_json, #update_role

Methods included from TheRole::Api::BaseMethods

#admin?, #any_role?, #has_role?, #has_section?, #moderator?