Sha256: 8dd8ad24000a8808978d8d32ee226ef6476f0cf93b29ced9765c5e3da510159e
Contents?: true
Size: 664 Bytes
Versions: 24
Compression:
Stored size: 664 Bytes
Contents
# frozen_string_literal: true module ONEAccess module DataObject module Representer class Organization < Representable::Decorator include Representable::JSON property :id, as: :Id, type: Integer property :name, as: :Name, type: String property :active, as: :Active property :short_name, as: :ShortName, type: String property :type, as: :Type, type: Integer property :main_address, as: :MainAddress, decorator: Representer::Address, class: DataObject::Address collection :addresses, as: :Addresses, decorator: Representer::Address, class: DataObject::Address end end end end
Version data entries
24 entries across 24 versions & 1 rubygems