Sha256: 7f23d1eda9588a4ccd65d1d1effdf07f73438d9a8056b3d373af04cc163c5aae

Contents?: true

Size: 441 Bytes

Versions: 6

Compression:

Stored size: 441 Bytes

Contents

module IEX
  module Resources
    class Symbols < Resource
      property 'symbol'
      property 'exchange'
      property 'name'
      property 'date', transform_with: ->(v) { Date.parse(v) }
      property 'enabled', from: 'isEnabled'
      property 'type'
      property 'region'
      property 'currency'
      property 'iex_id', from: 'iexId'
      property 'figi'
      property 'cik'

      alias :enabled? enabled
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
iex-ruby-client-1.6.0 lib/iex/resources/symbols.rb
iex-ruby-client-1.5.0 lib/iex/resources/symbols.rb
iex-ruby-client-1.4.1 lib/iex/resources/symbols.rb
iex-ruby-client-1.4.0 lib/iex/resources/symbols.rb
iex-ruby-client-1.3.0 lib/iex/resources/symbols.rb
iex-ruby-client-1.2.0 lib/iex/resources/symbols.rb