Class: Puree::Extractor::Publisher

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

Overview

Publisher 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/publisher.rb', line 10

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