Sha256: da711c921f10aaa13d1ea49baf9fb3afede70c65064310b7f0c3ccfe2097a30f
Contents?: true
Size: 812 Bytes
Versions: 1
Compression:
Stored size: 812 Bytes
Contents
module NewRelic module RestApi class Config attr_accessor :host, :api_version, :key, :retries, :timeout, :open_timeout ## Pass the SSL certificates location # For more information read: # https://github.com/lostisland/faraday/wiki/Setting-up-SSL-certificates # attr_accessor :ssl_options def host @host ||= 'https://api.newrelic.com' end def api_version @api_version ||= 'v2' end def timeout @timeout ||= 10 end def open_timeout @open_timeout ||= 10 end def retries @retries ||= 0 end def ssl_options @ssl_options ||= {} end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
new_relic-rest_api-0.1.0 | lib/new_relic/rest_api/config.rb |