Sha256: c1590eecad27e3e879645765af0cf0f9e6a1ccc2291e8989de1e034c3a04eaf5
Contents?: true
Size: 976 Bytes
Versions: 1
Compression:
Stored size: 976 Bytes
Contents
module Hancock::Gallery include Hancock::PluginConfiguration def self.config_class Configuration end class Configuration attr_accessor :localize attr_accessor :cache_support attr_accessor :model_settings_support attr_accessor :user_abilities_support attr_accessor :ra_comments_support attr_accessor :watermark_support attr_accessor :original_image_hash_secret attr_accessor :default_convert_options def initialize @localize = Hancock.config.localize @cache_support = defined?(Hancock::Cache) @model_settings_support = defined?(RailsAdminModelSettings) @user_abilities_support = defined?(RailsAdminUserAbilities) @ra_comments_support = defined?(RailsAdminComments) @watermark_support = defined?(PaperclipWatermark) @original_image_hash_secret = Rails.application.secrets.secret_key_base @default_convert_options = {all: ["-quality", "75", "-strip"]} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hancock_cms_gallery-1.0.2 | lib/hancock/gallery/configuration.rb |