module Shrine::Plugins::CachedAttachmentData::AttacherMethods

Public Instance Methods

cached_data() click to toggle source
# File lib/shrine/plugins/cached_attachment_data.rb, line 18
def cached_data
  file.to_json if cached? && changed?
end