Sha256: 0bba38fd6a57d1a1dbdd93918c7bb200a93cd006c7430cff8f4ab45318d49e09
Contents?: true
Size: 582 Bytes
Versions: 4
Compression:
Stored size: 582 Bytes
Contents
require 'riiif/version' require 'deprecation' require 'riiif/engine' module Riiif extend ActiveSupport::Autoload autoload :Routes class Error < RuntimeError; end class InvalidAttributeError < Error; end class ImageNotFoundError < Error; end # This error is raised when Riiif can't convert an image class ConversionError < Error; end mattr_accessor :not_found_image # the image to use when a lookup fails mattr_accessor :unauthorized_image # the image to use when a user doesn't have access def self.kakadu_enabled? Engine.config.kakadu_enabled end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
riiif-2.1.0 | lib/riiif.rb |
riiif-2.0.0 | lib/riiif.rb |
riiif-2.0.0.beta2 | lib/riiif.rb |
riiif-2.0.0.beta1 | lib/riiif.rb |