Class: Shrine::Attachment
- Inherits:
-
Module
- Object
- Module
- Shrine::Attachment
- Extended by:
- ClassMethods
- Includes:
- InstanceMethods
- Defined in:
- lib/shrine/attachment.rb
Overview
Core class which creates attachment modules for specified attribute names that are included into model classes. Base implementation is defined in InstanceMethods and ClassMethods.
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, #build_attacher, #define_attachment_methods!, #initialize, #inspect, #options, #shrine_class, #to_s