Class: ODRL::PartyCollection

Inherits:
Party show all
Defined in:
lib/odrl/party.rb

Instance Attribute Summary

Attributes inherited from Party

#partOf, #predicate, #refinements, #type, #uid

Attributes inherited from Base

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

Instance Method Summary collapse

Methods inherited from Party

#addPart, #addRefinement, #load_graph, #serialize

Methods inherited from Base

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

Constructor Details

#initialize(type: CPARTYCOLLECTION, **args) ⇒ PartyCollection

Returns a new instance of PartyCollection.



93
94
95
# File 'lib/odrl/party.rb', line 93

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