Class: Pageflow::ImageFile
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Pageflow::ImageFile
- Includes:
- ImageFileStateMachine, UploadedFile
- Defined in:
- app/models/pageflow/image_file.rb
Instance Method Summary collapse
Methods included from UploadedFile
Methods included from ImageFileStateMachine
Instance Method Details
#attachment ⇒ Object
32 33 34 |
# File 'app/models/pageflow/image_file.rb', line 32 def .present? ? : end |
#attachment=(value) ⇒ Object
36 37 38 |
# File 'app/models/pageflow/image_file.rb', line 36 def (value) self. = value end |