Sha256: 2b209bb160a2d5ba66b240c2f957c97256634766f5858c0e5fa5ae0c79c79363

Contents?: true

Size: 293 Bytes

Versions: 9

Compression:

Stored size: 293 Bytes

Contents

module IEX
  module Endpoints
    module StockMarket
      def stock_market_list(list_type, options = {})
        get("stock/market/list/#{list_type}", { token: publishable_token }.merge(options)).map do |data|
          IEX::Resources::Quote.new(data)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
iex-ruby-client-2.1.0 lib/iex/endpoints/stock_market.rb
iex-ruby-client-2.0.0 lib/iex/endpoints/stock_market.rb
iex-ruby-client-1.6.0 lib/iex/endpoints/stock_market.rb
iex-ruby-client-1.5.0 lib/iex/endpoints/stock_market.rb
iex-ruby-client-1.4.1 lib/iex/endpoints/stock_market.rb
iex-ruby-client-1.4.0 lib/iex/endpoints/stock_market.rb
iex-ruby-client-1.3.0 lib/iex/endpoints/stock_market.rb
iex-ruby-client-1.2.0 lib/iex/endpoints/stock_market.rb
iex-ruby-client-1.1.2 lib/iex/endpoints/stock_market.rb