Class: Shrine::Attacher

Inherits:
Object
  • Object
show all
Extended by:
ClassMethods
Includes:
InstanceMethods
Defined in:
lib/shrine/attacher.rb

Overview

Core class that handles attaching files. It uses Shrine and Shrine::UploadedFile objects internally.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Instance Attribute Summary

Attributes included from ClassMethods

#shrine_class

Attributes included from InstanceMethods

#context, #file

Method Summary

Methods included from ClassMethods

from_data, inspect

Methods included from InstanceMethods

#assign, #attach, #attach_cached, #attached?, #cache, #cache_key, #cached?, #change, #changed?, #data, #destroy, #destroy_attached, #destroy_previous, #file!, #finalize, #get, #initialize, #load_data, #promote, #promote_cached, #save, #set, #shrine_class, #store, #store_key, #stored?, #upload, #uploaded_file, #url