Class: Immoscout::Models::Picture

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

Overview

Attachment (picture) of a Real Estate. See: bit.ly/3iE6K9h

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.



17
18
19
# File 'lib/immoscout/models/picture.rb', line 17

def attachable
  @attachable
end

#fileObject

Returns the value of attribute file.



17
18
19
# File 'lib/immoscout/models/picture.rb', line 17

def file
  @file
end