Class: ODRL::Duty
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
-
#initialize(predicate: PDUTY, type: CDUTY, **args) ⇒ Duty
constructor
A new instance of Duty.
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