Class: ODRL::Privacy

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: CPRIVACY, **args) ⇒ Privacy

Returns a new instance of Privacy.



92
93
94
# File 'lib/odrl/policy.rb', line 92

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