Class: IEX::Resources::Sectors
- Inherits:
-
IEX::Resource
- Object
- Hashie::Trash
- IEX::Resource
- IEX::Resources::Sectors
- Defined in:
- lib/iex/resources/sectors.rb
Class Method Summary collapse
Class Method Details
.get(stock_symbol) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/iex/resources/sectors.rb', line 11 def self.get(stock_symbol) Base.symbol(stock_symbol) do IEX::Api::Sectors.get(stock_symbol).map do |data| new data end end end |