Class: Pageflow::Panorama::ZipEntryPaperclipIOAdapter
- Inherits:
-
Paperclip::AbstractAdapter
- Object
- Paperclip::AbstractAdapter
- Pageflow::Panorama::ZipEntryPaperclipIOAdapter
- Defined in:
- lib/pageflow/panorama/zip_entry_paperclip_io_adapter.rb
Instance Attribute Summary collapse
-
#original_filename ⇒ Object
writeonly
Sets the attribute original_filename.
Instance Method Summary collapse
-
#initialize(entry, options = {}) ⇒ ZipEntryPaperclipIOAdapter
constructor
A new instance of ZipEntryPaperclipIOAdapter.
Constructor Details
#initialize(entry, options = {}) ⇒ ZipEntryPaperclipIOAdapter
Returns a new instance of ZipEntryPaperclipIOAdapter.
12 13 14 15 |
# File 'lib/pageflow/panorama/zip_entry_paperclip_io_adapter.rb', line 12 def initialize(entry, = {}) @entry = entry cache_current_values end |
Instance Attribute Details
#original_filename=(value) ⇒ Object (writeonly)
Sets the attribute original_filename
9 10 11 |
# File 'lib/pageflow/panorama/zip_entry_paperclip_io_adapter.rb', line 9 def original_filename=(value) @original_filename = value end |