lib/iex/endpoints/price.rb in iex-ruby-client-1.1.0 vs lib/iex/endpoints/price.rb in iex-ruby-client-1.1.1

- old
+ new

@@ -1,9 +1,9 @@ module IEX module Endpoints module Price def price(symbol, options = {}) - get("stock/#{symbol}/price", options) + get("stock/#{symbol}/price", { token: publishable_token }.merge(options)) rescue Faraday::ResourceNotFound => e raise IEX::Errors::SymbolNotFoundError.new(symbol, e.response[:body]) end end end