Sha256: ccd4b7e04b3fc56ff64ed712cc3f9b555b8871d33d231c9eff1c26afd97aba0b
Contents?: true
Size: 352 Bytes
Versions: 10
Compression:
Stored size: 352 Bytes
Contents
module IEX module Endpoints module Company def company(symbol, options = {}) IEX::Resources::Company.new(get("stock/#{symbol}/company", { token: publishable_token }.merge(options))) rescue Faraday::ResourceNotFound => e raise IEX::Errors::SymbolNotFoundError.new(symbol, e.response[:body]) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems