Class: Cms::Upgrades::V3_5_0::FileStorageUpdates::AttachmentWrapper
- Inherits:
-
Object
- Object
- Cms::Upgrades::V3_5_0::FileStorageUpdates::AttachmentWrapper
- Defined in:
- lib/cms/upgrades/v3_5_0.rb
Overview
Allows us to use the Paperclip interpolations logic directly
Instance Method Summary collapse
-
#initialize(attachment) ⇒ AttachmentWrapper
constructor
A new instance of AttachmentWrapper.
- #instance ⇒ Object
Constructor Details
#initialize(attachment) ⇒ AttachmentWrapper
Returns a new instance of AttachmentWrapper.
212 213 214 |
# File 'lib/cms/upgrades/v3_5_0.rb', line 212 def initialize() @attachment = end |
Instance Method Details
#instance ⇒ Object
216 217 218 |
# File 'lib/cms/upgrades/v3_5_0.rb', line 216 def instance @attachment end |