Class: IEX::Resources::Quote

Inherits:
IEX::Resource show all
Defined in:
lib/iex/resources/quote.rb

Class Method Summary collapse

Class Method Details

.get(stock_symbol) ⇒ Object


56
57
58
59
60
# File 'lib/iex/resources/quote.rb', line 56

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