Module: IEX::Resources::Price

Defined in:
lib/iex/resources/price.rb

Class Method Summary collapse

Class Method Details

.get(stock_symbol) ⇒ Object


6
7
8
9
10
# File 'lib/iex/resources/price.rb', line 6

def self.get(stock_symbol)
  Base.symbol(stock_symbol) do
    IEX::Api::Price.get(stock_symbol)
  end
end