Module: IEX::Api::Company
- Defined in:
- lib/iex/api/company.rb
Class Method Summary collapse
Class Method Details
.connection(symbol) ⇒ Object
8 9 10 |
# File 'lib/iex/api/company.rb', line 8 def self.connection(symbol) IEX::Api.default_connection "#{symbol}/company" end |
.get(symbol) ⇒ Object
4 5 6 |
# File 'lib/iex/api/company.rb', line 4 def self.get(symbol) connection(symbol).get.body end |