Class: Shrine::Attachment

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

#shrine_class

Method Summary

Methods included from ClassMethods

inspect

Methods included from InstanceMethods

#attachment_name, #build_attacher, #define_attachment_methods!, #initialize, #inspect, #options, #shrine_class, #to_s