Class: ODRL::Profile::Permission
- Inherits:
-
Rule
- Object
- ProfileElement
- Rule
- ODRL::Profile::Permission
- Defined in:
- lib/odrl/profile/builder.rb
Instance Attribute Summary
Attributes inherited from Rule
Attributes inherited from ProfileElement
#definition, #label, #parent_class, #parent_property, #uri
Instance Method Summary collapse
- #build(repo:) ⇒ Object
-
#initialize(disjoints: [], **args) ⇒ Permission
constructor
A new instance of Permission.
Constructor Details
#initialize(disjoints: [], **args) ⇒ Permission
Returns a new instance of Permission.
235 236 237 |
# File 'lib/odrl/profile/builder.rb', line 235 def initialize(disjoints: [], **args) super(disjoints: [ODRLV.Prohibition, ODRLV.Duty].concat(disjoints), **args) end |