Module: Riiif

Extended by:
ActiveSupport::Autoload
Defined in:
lib/riiif.rb,
lib/riiif/engine.rb,
lib/riiif/routes.rb,
lib/riiif/version.rb,
app/models/riiif/file.rb,
app/models/riiif/image.rb,
app/services/riiif/crop.rb,
app/services/riiif/resize.rb,
app/services/riiif/command_runner.rb,
app/models/riiif/image_information.rb,
app/services/riiif/link_name_service.rb,
app/resolvers/riiif/http_file_resolver.rb,
app/controllers/riiif/images_controller.rb,
app/services/riiif/kakadu_command_factory.rb,
app/transformers/riiif/kakadu_transformer.rb,
app/transformers/riiif/abstract_transformer.rb,
app/services/riiif/nil_authorization_service.rb,
app/resolvers/riiif/file_system_file_resolver.rb,
app/services/riiif/image_magick_info_extractor.rb,
app/services/riiif/imagemagick_command_factory.rb,
app/transformers/riiif/imagemagick_transformer.rb,
app/resolvers/riiif/akubra_system_file_resolver.rb,
app/resolvers/riiif/abstract_file_system_resolver.rb

Defined Under Namespace

Classes: AbstractFileSystemResolver, AbstractTransformer, AkubraSystemFileResolver, CommandRunner, ConversionError, Crop, Engine, Error, File, FileSystemFileResolver, HttpFileResolver, Image, ImageInformation, ImageMagickInfoExtractor, ImageNotFoundError, ImagemagickCommandFactory, ImagemagickTransformer, ImagesController, InvalidAttributeError, KakaduCommandFactory, KakaduTransformer, LinkNameService, NilAuthorizationService, Resize, Routes

Constant Summary collapse

HTTPFileResolver =
ActiveSupport::Deprecation::DeprecatedConstantProxy.new(
  'Riiif::HTTPFileResolver',
  'Riiif::HttpFileResolver',
  Riiif.deprecation
)
VERSION =
'2.7.0'.freeze

Class Method Summary collapse

Class Method Details

.deprecationObject



15
16
17
# File 'lib/riiif.rb', line 15

def self.deprecation
  @deprecation ||= ActiveSupport::Deprecation.new('3.0', 'Riiif')
end

.kakadu_enabled?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/riiif.rb', line 28

def self.kakadu_enabled?
  Engine.config.kakadu_enabled
end