Sha256: b17696f901f7382b5f0a31fa1929548b6fe90d996e244bddedc3904334ba23d7
Contents?: true
Size: 367 Bytes
Versions: 2
Compression:
Stored size: 367 Bytes
Contents
module IEX module Api module Dividends def self.get(symbol, range = nil) connection(symbol, range).get.body end def self.connection(symbol, range = nil) IEX::Api.default_connection [ symbol, 'dividends', range ? '6m' : nil, range ].compact.join('/') end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iex-ruby-client-0.4.3 | lib/iex/api/dividends.rb |
iex-ruby-client-0.4.2 | lib/iex/api/dividends.rb |