Class: ODRL::Agreement

Inherits:
Set show all
Defined in:
lib/odrl/policy.rb

Instance Attribute Summary

Attributes inherited from Policy

#profiles, #rules

Attributes inherited from Base

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

Instance Method Summary collapse

Methods inherited from Policy

#addDuty, #addPermission, #addProfile, #addProhibition, #load_graph, #serialize

Methods inherited from Base

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

Constructor Details

#initialize(type: CAGREEMENT, **args) ⇒ Agreement

Returns a new instance of Agreement.



80
81
82
# File 'lib/odrl/policy.rb', line 80

def initialize(type: CAGREEMENT, **args)
  super(type: type, **args)
end