Class: Shrine::Attachment

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

Overview

Core class that provides an attachment interface for a specified attribute name, which can be added to model/entity classes. The model/entity plugins define the main interface, which delegates to a Shrine::Attacher object.

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, #initialize, #inspect, #options, #shrine_class