Class: Bosh::Agent::HTTPClient

Inherits:
BaseClient show all
Defined in:
lib/agent_client/http_client.rb

Constant Summary collapse

IO_TIMEOUT =
86400 * 3
CONNECT_TIMEOUT =
30

Instance Method Summary collapse

Methods inherited from BaseClient

#method_missing, #run_task

Constructor Details

#initialize(base_uri, options = {}) ⇒ HTTPClient

Returns a new instance of HTTPClient.



11
12
13
14
# File 'lib/agent_client/http_client.rb', line 11

def initialize(base_uri, options = {})
  @base_uri = base_uri
  @options = options
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Bosh::Agent::BaseClient