Sha256: 1ee93db24f7170589008e712a2294eb0d75aa03d92eeee34408f4aac5596d607
Contents?: true
Size: 875 Bytes
Versions: 1
Compression:
Stored size: 875 Bytes
Contents
# frozen_string_literal: true require_relative 'concerns/renderable' require_relative 'concerns/propertiable' require_relative 'actions/attachment' module Immoscout module Models 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
immoscout-1.3.2 | lib/immoscout/models/document.rb |