Sha256: 60203ff55d0bc56dd5d585e8c84cd059f0c30b2d9dbd998cf8a70be21055935b

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

module IEX
  module Api
    module Earnings
      def self.get(symbol)
        connection(symbol).get.body
      end

      def self.connection(symbol)
        IEX::Api.default_connection "#{symbol}/earnings"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iex-ruby-client-0.4.4 lib/iex/api/earnings.rb
iex-ruby-client-0.4.3 lib/iex/api/earnings.rb