Sha256: 51be6a47c1da397a0e2cc7167efffebf1e7ef47d97d459895e8a396b11ee0bba

Contents?: true

Size: 914 Bytes

Versions: 20

Compression:

Stored size: 914 Bytes

Contents

# frozen_string_literal: true

module ONEAccess
  module DataObject
    module Representer
      class Company < Representable::Decorator
        include Representable::JSON

        property :id, as: :Id, type: Integer
        property :perm_id, as: :PermId, type: Integer
        property :name, as: :Name, type: String
        property :is_private, as: :IsPrivate
        property :exchange_code, as: :ExchangeCode, type: String
        property :ticker, as: :Ticker, type: String
        property :website, as: :Website, type: String
        property :address, as: :Address,
          decorator: Representer::Address, class: DataObject::Address
        property :industry, as: :Industry,
          decorator: Representer::Industry, class: DataObject::Industry
        property :sub_industry, as: :SubIndustry,
          decorator: Representer::Industry, class: DataObject::Industry
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
oneaccess-1.2.0 lib/oneaccess/data_object/representer/company.rb
oneaccess-1.1.0 lib/oneaccess/data_object/representer/company.rb
oneaccess-1.0.1 lib/oneaccess/data_object/representer/company.rb
oneaccess-1.0.0 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.5.0 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.4.5 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.4.4 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.4.3 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.4.2 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.4.1 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.4.0 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.3.0 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.2.0 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.1.9 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.1.8 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.1.7 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.1.6 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.1.5 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.1.4 lib/oneaccess/data_object/representer/company.rb
oneaccess-0.1.3 lib/oneaccess/data_object/representer/company.rb