Sha256: 0c8e34bfa4f51eacb04e6df81e42c9ede57c3922c92df455a995f15fae1e354e
Contents?: true
Size: 945 Bytes
Versions: 3
Compression:
Stored size: 945 Bytes
Contents
# frozen_string_literal: true module Immoscout module Models # Attachment (picture) of a Real Estate. # See: https://bit.ly/3iE6K9h class Picture < 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', default: 'common:Picture' 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 :title_picture property :urls, coerce: Immoscout::Models::Parts::Urls, array: true end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
immoscout-1.9.0 | lib/immoscout/models/picture.rb |
immoscout-1.8.1 | lib/immoscout/models/picture.rb |
immoscout-1.8.0 | lib/immoscout/models/picture.rb |