module Polygon::Api::Config

Constants

ATTRIBUTES

Public Instance Methods

reset!() click to toggle source
# File lib/polygon/api/config.rb, line 22
def reset!
  self.endpoint = 'https://api.polygon.io'
  self.api_key = ENV['POLYGON_API_KEY']
  self.user_agent = "Polygon Ruby Client/#{Polygon::VERSION}"
  self.ca_path = defined?(OpenSSL) ? OpenSSL::X509::DEFAULT_CERT_DIR : nil
  self.ca_file = defined?(OpenSSL) ? OpenSSL::X509::DEFAULT_CERT_FILE : nil
  self.proxy = nil
  self.logger = nil
  self.timeout = nil
  self.open_timeout = nil
end