class

BonspielPolicy

Inherits ApplicationPolicy < Reference < Object

Constructors

new(user : User | Nil, record : T | Nil = nil)

Swap out User for your user class, if needed!

Source

Instance methods

create?

Whether or not the Create action can be accessed

Source
delete?

Whether or not the Delete action can be accessed

Source
index?

Whether or not the Index action can be accessed

Source
show?

Whether or not the Show action can be accessed

Source
update?

Whether or not the Update action can be accessed

Source