Class: Shrine::Attacher
- Inherits:
-
Object
- Object
- Shrine::Attacher
- Extended by:
- ClassMethods
- Includes:
- InstanceMethods
- Defined in:
- lib/shrine/attacher.rb
Overview
Core class which handles attaching files to model instances. Base implementation is defined in InstanceMethods and ClassMethods.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Instance Attribute Summary
Attributes included from ClassMethods
Attributes included from InstanceMethods
#cache, #context, #errors, #store
Method Summary
Methods included from ClassMethods
Methods included from InstanceMethods
#_delete, #_promote, #assign, #cache!, #cached?, #changed?, #data_attribute, #delete!, #destroy, #finalize, #get, #initialize, #name, #promote, #read, #record, #replace, #save, #set, #shrine_class, #store!, #stored?, #swap, #uploaded_file, #url, #validate