Sha256: 4fd5d4e33443ecbc90f0dafef349ff075dab0b02a2932bdbf3dd3f2594b1fcbb

Contents?: true

Size: 265 Bytes

Versions: 5

Compression:

Stored size: 265 Bytes

Contents

require_relative 'base'

module IEX
  module Resources
    class Logo < Resource
      property 'url'

      def self.get(stock_symbol)
        Base.symbol(stock_symbol) do
          new IEX::Api::Logo.get(stock_symbol).body
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
iex-ruby-client-0.4.4 lib/iex/resources/logo.rb
iex-ruby-client-0.4.3 lib/iex/resources/logo.rb
iex-ruby-client-0.4.2 lib/iex/resources/logo.rb
iex-ruby-client-0.4.1 lib/iex/resources/logo.rb
iex-ruby-client-0.4.0 lib/iex/resources/logo.rb