Class: Puree::Extractor::Person

Inherits:
Resource
  • Object
show all
Defined in:
lib/puree/extractor/person.rb

Overview

Person extractor.

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)


10
11
12
13
14
# File 'lib/puree/extractor/person.rb', line 10

def find(id)
  find_and_extract id: id,
                   api_resource_type: :person,
                   xml_extractor_resource_type: :person
end