module Shrine::Plugins::CachedAttachmentData::AttachmentMethods
Public Instance Methods
define_model_methods(name)
click to toggle source
Calls superclass method
# File lib/shrine/plugins/cached_attachment_data.rb, line 8 def define_model_methods(name) super if defined?(super) define_method :"cached_#{name}_data" do send(:"#{name}_attacher").cached_data end end