Class: Shrine::Attachment
- Inherits:
-
Module
- Object
- Module
- Shrine::Attachment
- Extended by:
- ClassMethods
- Includes:
- InstanceMethods
- Defined in:
- lib/shrine/attachment.rb
Overview
Core class that provides an attachment interface for a specified attribute name, which can be added to model/entity classes. The model/entity plugins define the main interface, which delegates to a Shrine::Attacher object.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Instance Attribute Summary
Attributes included from ClassMethods
Method Summary
Methods included from ClassMethods
Methods included from InstanceMethods
#attachment_name, #initialize, #inspect, #options, #shrine_class