Class: LinkedResearchMetadata::Transformer::Organisation
- Defined in:
- lib/linked_research_metadata/transformer/organisation.rb
Overview
Organisation transformer
Instance Method Summary collapse
-
#initialize(config) ⇒ Organisation
constructor
A new instance of Organisation.
-
#transform(uuid:) ⇒ RDF::Graph
Organisation transformation.
Methods inherited from Base
Constructor Details
#initialize(config) ⇒ Organisation
Returns a new instance of Organisation.
14 15 16 |
# File 'lib/linked_research_metadata/transformer/organisation.rb', line 14 def initialize(config) super end |
Instance Method Details
#transform(uuid:) ⇒ RDF::Graph
Organisation transformation
22 23 24 |
# File 'lib/linked_research_metadata/transformer/organisation.rb', line 22 def transform(uuid:) super uuid: uuid, resource: :organisation end |