Class: ODRL::Use
Instance Attribute Summary
Attributes inherited from Action
#(optional), #predicate, #refinements, #type, #uid, #vallabel, #value
Attributes inherited from Base
#baseURI, #creator, #description, #id, #issued, #label, #subject, #title, #type, #uid
Instance Method Summary collapse
-
#initialize(type: CACTION, **args) ⇒ Use
constructor
A new instance of Use.
Methods inherited from Action
#addRefinement, #load_graph, #serialize
Methods inherited from Base
baseURI, clear_repository, #get_writer, getuuid, #load_graph, repository, #repository, #serialize, #triplify
Constructor Details
#initialize(type: CACTION, **args) ⇒ Use
Returns a new instance of Use.
96 97 98 |
# File 'lib/odrl/action.rb', line 96 def initialize(type: CACTION, **args) super(type: :type, **args) end |