Class: Puree::Extractor::JournalArticle

Inherits:
Publication show all
Defined in:
lib/puree/extractor/journal_article.rb

Overview

Journal article extractor.

Instance Method Summary collapse

Methods inherited from Resource

#get

Constructor Details

#initialize(config) ⇒ JournalArticle

Returns a new instance of JournalArticle.

Parameters:

  • config (Hash)

    a customizable set of options

Options Hash (config):

  • :url (String)

    The URL of the Pure host.

  • :username (String)

    The username of the Pure host account.

  • :password (String)

    The password of the Pure host account.



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

def initialize(config)
  set_model_type 'journal_article'
  super
end