vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.9.4.245/lib/new_relic/agent/new_relic_service.rb
def connect(settings={})
        if host = get_redirect_host
          @collector = NewRelic::Control.instance.server_from_host(host)
        end
        response = invoke_remote(:connect, [settings])
        @agent_id = response['agent_run_id']
        response
      end
# Specifies the version of the agent's communication protocol with
# the NewRelic hosted site.
Specifies the version of the agent's communication protocol with
the NewRelic hosted site.
Specifies the version of the agent ' s communication protocol with the NewRelic hosted site .
def connect(settings={})
        if host = get_redirect_host
          @collector = NewRelic::Control.instance.server_from_host(host)
        end
        response = invoke_remote(:connect, [settings])
        @agent_id = response['agent_run_id']
        response
      end
def connect ( settings = { } ) if host = get_redirect_host @collector = NewRelic :: Control . instance . server_from_host ( host ) end response = invoke_remote ( :connect , [ settings ] ) @agent_id = response [ 'agent_run_id' ] response end
Specifies the version of the agent's communication protocol with
the NewRelic hosted site.
Specifies the version of the agent ' s communication protocol with the NewRelic hosted site .
settings