Class: IEX::Resources::Logo

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

Class Method Summary collapse

Class Method Details

.get(stock_symbol) ⇒ Object


8
9
10
11
12
# File 'lib/iex/resources/logo.rb', line 8

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