Sha256: 139c7a093d1759b7f7b339e9211c67a41d5616ef068e7934ddb12c98e809fadf

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

require 'hashie'

module LinkThumbnailer
	class Configuration < Hashie::Mash

    def rmagick_attributes
      LinkThumbnailer.logger.info "[DEPRECATION] rmagick_attributes is deprecated. Use image_attributes instead."
      image_attributes
    end

    def rmagick_attributes=(value)
      LinkThumbnailer.logger.info "[DEPRECATION] rmagick_attributes is deprecated. Use image_attributes instead."
      self.image_attributes = value
    end

	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
link_thumbnailer-1.1.1 lib/link_thumbnailer/configuration.rb
link_thumbnailer-1.1.0 lib/link_thumbnailer/configuration.rb