Class: Puree::Extractor::Project

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

Overview

Project extractor.

Instance Method Summary collapse

Methods inherited from Resource

#get

Constructor Details

#initialize(config) ⇒ Project

Returns a new instance of Project.

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
14
# File 'lib/puree/extractor/project.rb', line 10

def initialize(config)
  super
  @latest_api = false # stable API does not return person roles
  setup :project
end