Sha256: 253998ffddbb686c429da5292f57c79899142f2e135563f1e292d67b7296d2ce
Contents?: true
Size: 955 Bytes
Versions: 9
Compression:
Stored size: 955 Bytes
Contents
# frozen_string_literal: true require_relative 'concerns/renderable' require_relative 'concerns/propertiable' require_relative 'actions/attachment' module Immoscout module Models # Attachment (document) of a Real Estate. # See: https://bit.ly/3Xx32gj class Document < Base include Immoscout::Models::Concerns::Renderable include Immoscout::Models::Concerns::Propertiable include Immoscout::Models::Actions::Attachment attr_accessor :attachable, :file self.json_wrapper = 'common.attachment' property :id, alias: :@id property :type, alias: :'@xsi.type' property :href, alias: :'@xlink.href' property :publish_date, alias: :@publish_date property :creation, alias: :@creation property :modification, alias: :@modification property :title property :external_id property :external_check_sum property :floorplan property :url end end end
Version data entries
9 entries across 9 versions & 1 rubygems