Class: Puree::Extractor::Resource

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

Overview

Resource extractor.

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Resource

Returns a new instance of Resource.

Parameters:

  • config (Hash)

Options Hash (config):

  • :url (String) —

    URL of the Pure host

  • :username (String) —

    Username of the Pure host account

  • :password (String) —

    Password of the Pure host account

  • :api_key (String) —

    API key of the Pure host account

  • :http_read_timeout (Float) —

    Read timeout in seconds

  • :http_write_timeout (Float) —

    Write timeout in seconds

  • :http_connection_timeout (Float) —

    Connection timeout in seconds



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

def initialize(config)
  @config = config
end