module Shrine::Plugins::CachedAttachmentData::AttacherMethods

  1. lib/shrine/plugins/cached_attachment_data.rb

Methods

Public Instance

  1. read_cached

Public Instance methods

read_cached ()
[show source]
# File lib/shrine/plugins/cached_attachment_data.rb, line 37
def read_cached
  get.to_json if cached? && changed?
end