Class: Immoscout::Models::Document
- Defined in:
- lib/immoscout/models/document.rb
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.
14 15 16 |
# File 'lib/immoscout/models/document.rb', line 14 def attachable @attachable end |
#file ⇒ Object
Returns the value of attribute file.
14 15 16 |
# File 'lib/immoscout/models/document.rb', line 14 def file @file end |