Class: ODRL::AssetCollection
Instance Attribute Summary
Attributes inherited from Asset
#hasPolicy, #partOf, #refinements, #uid
Attributes inherited from Base
#baseURI, #creator, #description, #id, #issued, #label, #subject, #title, #type, #uid
Instance Method Summary collapse
-
#initialize(type: CASSETCOLLECTION, **args) ⇒ AssetCollection
constructor
A new instance of AssetCollection.
Methods inherited from Asset
#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: CASSETCOLLECTION, **args) ⇒ AssetCollection
Returns a new instance of AssetCollection.
73 74 75 |
# File 'lib/odrl/asset.rb', line 73 def initialize(type: CASSETCOLLECTION, **args) super(type: type, **args) end |