Module: AttachmerbFu
- Defined in:
- lib/attachmerb_fu.rb,
lib/attachmerb_fu/backends/s3_backend.rb,
lib/attachmerb_fu/backends/db_file_backend.rb,
lib/attachmerb_fu/backends/file_system_backend.rb,
lib/attachmerb_fu/processors/rmagick_processor.rb,
lib/attachmerb_fu/processors/mini_magick_processor.rb,
lib/attachmerb_fu/processors/image_science_processor.rb
Overview
:nodoc:
Defined Under Namespace
Modules: ActMethods, Backends, ClassMethods, InstanceMethods, Processors Classes: AttachmentError, ThumbnailError
Constant Summary collapse
- @@default_processors =
%w(ImageScience Rmagick MiniMagick)
- @@tempfile_path =
File.join(Merb.root, 'tmp', 'attachment_fu')
- @@content_types =
['image/jpeg', 'image/pjpeg', 'image/gif', 'image/png', 'image/x-png', 'image/jpg']
Instance Attribute Summary collapse
-
#content_types ⇒ Object
readonly
Returns the value of attribute content_types.
-
#default_processors ⇒ Object
readonly
Returns the value of attribute default_processors.
-
#tempfile_path ⇒ Object
Returns the value of attribute tempfile_path.
Instance Attribute Details
#content_types ⇒ Object (readonly)
Returns the value of attribute content_types.
8 9 10 |
# File 'lib/attachmerb_fu.rb', line 8 def content_types @content_types end |
#default_processors ⇒ Object (readonly)
Returns the value of attribute default_processors.
8 9 10 |
# File 'lib/attachmerb_fu.rb', line 8 def default_processors @default_processors end |
#tempfile_path ⇒ Object
Returns the value of attribute tempfile_path.
8 9 10 |
# File 'lib/attachmerb_fu.rb', line 8 def tempfile_path @tempfile_path end |