Class: Paperdragon::Attachment
- Inherits:
-
Object
- Object
- Paperdragon::Attachment
- Extended by:
- Uber::InheritableAttr
- Includes:
- InstanceMethods, SanitizeUid
- Defined in:
- lib/paperdragon/attachment.rb
Overview
Override #build_uid / #rebuild_uid. Note that we only encode the UID when computing it the first time. It is then stored encoded and no escaping happens at any time after that. You may use options. only saves metadata, does not know about model. Attachment is a builder for File and knows about metadata. It is responsible for creating UID if metadata is empty.
Defined Under Namespace
Modules: InstanceMethods, SanitizeUid