Module: IEX::Api::Config::Client
- Extended by:
- Logger::Accessor
- Defined in:
- lib/iex/api/config/client.rb
Defined Under Namespace
Modules: Accessor
Constant Summary collapse
- ATTRIBUTES =
i[ ca_file ca_path endpoint open_timeout proxy publishable_token referer secret_token timeout user_agent ].freeze
Class Method Summary collapse
Methods included from Logger::Accessor
Class Method Details
.reset! ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/iex/api/config/client.rb', line 23 def reset! self.endpoint = 'https://cloud.iexapis.com/v1' self.publishable_token = ENV['IEX_API_PUBLISHABLE_TOKEN'] self.secret_token = ENV['IEX_API_SECRET_TOKEN'] self.user_agent = "IEX Ruby Client/#{IEX::VERSION}" self.ca_file = nil self.ca_path = nil self.open_timeout = nil self.proxy = nil self.referer = nil self.timeout = nil end |