Module: Shrine::Plugins::CachedAttachmentData::AttacherMethods
- Defined in:
- lib/shrine/plugins/cached_attachment_data.rb
Instance Method Summary collapse
Instance Method Details
#read_cached ⇒ Object
27 28 29 |
# File 'lib/shrine/plugins/cached_attachment_data.rb', line 27 def read_cached get.to_json if cached? && changed? end |