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

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