Class: ODRL::Prohibition

Inherits:
Rule show all
Defined in:
lib/odrl/rule.rb

Instance Attribute Summary

Attributes inherited from Rule

#action, #assets, #assignee, #assigner, #constraints, #predicate, #type, #uid

Attributes inherited from Base

#baseURI, #creator, #description, #id, #issued, #label, #subject, #title, #type, #uid

Instance Method Summary collapse

Methods inherited from Rule

#addAction, #addAsset, #addAssignee, #addAssigner, #addConstraint, #load_graph, #serialize

Methods inherited from Base

baseURI, clear_repository, #get_writer, getuuid, #load_graph, repository, #repository, #serialize, #triplify

Constructor Details

#initialize(predicate: PPROHIBITION, type: CPROHIBITION, **args) ⇒ Prohibition

Returns a new instance of Prohibition.



112
113
114
# File 'lib/odrl/rule.rb', line 112

def initialize(predicate: PPROHIBITION, type: CPROHIBITION, **args)
  super(predicate: predicate, type: type, **args)
end