Sha256: 81b019cc12fed8f6b542925798363e97edfa680ae6844dc9aef5f544687ec608
Contents?: true
Size: 830 Bytes
Versions: 2
Compression:
Stored size: 830 Bytes
Contents
require 'riiif/version' require 'riiif/engine' module Riiif extend ActiveSupport::Autoload autoload :Image autoload :AbstractFileSystemResolver autoload :FileSystemFileResolver autoload :HTTPFileResolver autoload :Routes autoload :AkubraSystemFileResolver autoload :NilAuthorizationService class Error < RuntimeError; end class InvalidAttributeError < Error; end class ImageNotFoundError < Error attr_reader :original_exception def initialize(orig = nil) @original_exception = orig end end # This error is raised when Riiif can't convert an image class ConversionError < Error; end Transformation = Struct.new(:crop, :size, :quality, :rotation, :format) ImageInformation = Struct.new(:width, :height) mattr_accessor :not_found_image # the image to use when a lookup fails end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
riiif-1.4.1 | lib/riiif.rb |
riiif-1.4.0 | lib/riiif.rb |