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