Class: Shrine::Attacher

Inherits:
Object
  • Object
show all
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

#shrine_class

Attributes included from InstanceMethods

#cache, #context, #errors, #store

Method Summary

Methods included from ClassMethods

inspect, validate

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