Sha256: 1d8338b7696030a64067aaac024a4bcbeb959799108d673345eb129436dc8a1e
Contents?: true
Size: 236 Bytes
Versions: 9
Compression:
Stored size: 236 Bytes
Contents
module IEX module Api module Price def self.get(symbol) connection(symbol).get.body.to_f end def self.connection(symbol) IEX::Api.default_connection "#{symbol}/price" end end end end
Version data entries
9 entries across 9 versions & 1 rubygems