Class: IEX::Api::Client
- Inherits:
-
Object
- Object
- IEX::Api::Client
- Includes:
- Config, Cloud::Connection, Cloud::Request, Endpoints::Chart, Endpoints::Company, Endpoints::Crypto, Endpoints::Dividends, Endpoints::Earnings, Endpoints::Income, Endpoints::KeyStats, Endpoints::LargestTrades, Endpoints::Logo, Endpoints::News, Endpoints::Ohlc, Endpoints::Price, Endpoints::Quote, Endpoints::Sectors
- Defined in:
- lib/iex/api/client.rb
Constant Summary
Constants included from Config
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Config
Methods included from Cloud::Request
Methods included from Endpoints::Sectors
Methods included from Endpoints::Quote
Methods included from Endpoints::Price
Methods included from Endpoints::Ohlc
Methods included from Endpoints::News
Methods included from Endpoints::Logo
Methods included from Endpoints::LargestTrades
Methods included from Endpoints::KeyStats
Methods included from Endpoints::Income
Methods included from Endpoints::Earnings
Methods included from Endpoints::Dividends
Methods included from Endpoints::Crypto
Methods included from Endpoints::Company
Methods included from Endpoints::Chart
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 |
# File 'lib/iex/api/client.rb', line 24 def initialize( = {}) Config::ATTRIBUTES.each do |key| send("#{key}=", [key] || IEX::Api.config.send(key)) end end |