Class: Immoscout::Models::Picture
- Defined in:
- lib/immoscout/models/picture.rb
Overview
Attachment (picture) of a Real Estate. See: bit.ly/3iE6K9h
Instance Attribute Summary collapse
-
#attachable ⇒ Object
Returns the value of attribute attachable.
-
#file ⇒ Object
Returns the value of attribute file.
Attributes inherited from Base
Method Summary
Methods included from Actions::Attachment
all, content_type_from_extension, #destroy, #save
Methods included from Concerns::Modelable
#api, from_raw, #handle_response, handle_response, #id_from_response, id_from_response, unpack
Methods included from Concerns::Propertiable
#attributes, find_property, #method_missing, property, #respond_to_missing?
Methods included from Concerns::Renderable
Methods inherited from Base
Constructor Details
This class inherits a constructor from Immoscout::Models::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Immoscout::Models::Concerns::Propertiable
Instance Attribute Details
#attachable ⇒ Object
Returns the value of attribute attachable.
17 18 19 |
# File 'lib/immoscout/models/picture.rb', line 17 def attachable @attachable end |
#file ⇒ Object
Returns the value of attribute file.
17 18 19 |
# File 'lib/immoscout/models/picture.rb', line 17 def file @file end |