Sha256: 92e5e299abfc89f1e46fa51c566d53a71ebcd79549839835d9e27b05bdf10111
Contents?: true
Size: 974 Bytes
Versions: 2
Compression:
Stored size: 974 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oneaccess-1.3.1 | lib/oneaccess/data_object/representer/company.rb |
oneaccess-1.3.0 | lib/oneaccess/data_object/representer/company.rb |