Method: Puree::Extractor::Server#initialize

Defined in:
lib/puree/extractor/server.rb

#initialize(config) ⇒ Server

Returns a new instance of Server.

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.



11
12
13
14
# File 'lib/puree/extractor/server.rb', line 11

def initialize(config)
  @resource_type = :server
  configure_api config
end