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

Instance Attribute Details

#content_typesObject (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_processorsObject (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_pathObject

Returns the value of attribute tempfile_path.



8
9
10
# File 'lib/attachmerb_fu.rb', line 8

def tempfile_path
  @tempfile_path
end