Sha256: 4061fe36c6536d07e99b053762565b5bf22c55541b4ecf7fa3ab6f9f02b872da
Contents?: true
Size: 1015 Bytes
Versions: 5
Compression:
Stored size: 1015 Bytes
Contents
# frozen_string_literal: true require_relative 'concerns/renderable' require_relative 'concerns/propertiable' require_relative 'parts/urls' require_relative 'actions/attachment' module Immoscout module Models 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
5 entries across 5 versions & 1 rubygems