Class: OpenLoam::Permissions::DSL
- Inherits:
-
Object
- Object
- OpenLoam::Permissions::DSL
- Defined in:
- lib/open_loam/permissions.rb
Overview
Tiny DSL so configure { role ... } reads well without a receiver.
Instance Method Summary collapse
Instance Method Details
#role(name, allow:) ⇒ Object
74 75 76 |
# File 'lib/open_loam/permissions.rb', line 74 def role(name, allow:) OpenLoam::Permissions.role(name, allow: allow) end |