Class: Immoscout::Models::Document

Inherits:
Base
  • Object
show all
Includes:
Actions::Attachment, Concerns::Propertiable, Concerns::Renderable
Defined in:
lib/immoscout/models/document.rb

Overview

Attachment (document) of a Real Estate. See: bit.ly/3Xx32gj

Instance Attribute Summary collapse

Attributes inherited from Base

#base

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Immoscout::Models::Base

Instance Attribute Details

#attachableObject

Returns the value of attribute attachable.



16
17
18
# File 'lib/immoscout/models/document.rb', line 16

def attachable
  @attachable
end

#fileObject

Returns the value of attribute file.



16
17
18
# File 'lib/immoscout/models/document.rb', line 16

def file
  @file
end