Class: Puree::Extractor::Paper

Inherits:
ResearchOutput show all
Defined in:
lib/puree/extractor/paper.rb

Overview

Paper extractor.

Direct Known Subclasses

ConferencePaper

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from Puree::Extractor::Resource

Instance Method Details

#find(id) ⇒ Object

Parameters:

  • id (String)


9
10
11
12
13
# File 'lib/puree/extractor/paper.rb', line 9

def find(id)
  find_and_extract id: id,
                   api_resource_type: :research_output,
                   xml_extractor_resource_type: :paper
end