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

#get

Constructor Details

#initialize(config) ⇒ Person

Returns a new instance of Person.

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.



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

def initialize(config)
  super
  setup :person
end