Sha256: 2bc12dca057a35efa3d28343cbb6612e06319a92584c0eb8cf688aaaa5629b58

Contents?: true

Size: 234 Bytes

Versions: 4

Compression:

Stored size: 234 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iex-ruby-client-0.4.4 lib/iex/api/key_stats.rb
iex-ruby-client-0.4.3 lib/iex/api/key_stats.rb
iex-ruby-client-0.4.2 lib/iex/api/key_stats.rb
iex-ruby-client-0.4.1 lib/iex/api/key_stats.rb