Method: NewRelicApi.reset!

Defined in:
lib/new_relic_api.rb

.reset!Object

Resets the base path of all resources. This should be called when overridding the newrelic.yml settings using the ssl, host or port accessors.



39
40
41
42
# File 'lib/new_relic_api.rb', line 39

def reset!
  @classes.each {|klass| klass.reset!} if @classes
  NewRelicApi::Account.site_url
end