Class: Puree::Extractor::Organisation

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

Overview

Organisation extractor.

Instance Method Summary collapse

Methods inherited from Resource

#get

Constructor Details

#initialize(config) ⇒ Organisation

Returns a new instance of Organisation.

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.



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

def initialize(config)
  super
  setup :organisation
end