Sha256: 925d28fc179f4bd4e925fb584c815d35123876e53ad58b5e7943188bbc384cdb

Contents?: true

Size: 543 Bytes

Versions: 1

Compression:

Stored size: 543 Bytes

Contents

module Hancock::Search
  include Hancock::PluginConfiguration

  def self.config_class
    Configuration
  end

  class Configuration
    attr_accessor :breadcrumbs_on_rails_support

    attr_accessor :seo_support
    attr_accessor :cache_support

    attr_accessor :pages_support

    def initialize
      @breadcrumbs_on_rails_support = !!defined?(BreadcrumbsOnRails)
      
      @seo_support = !!defined?(Hancock::Seo)
      @cache_support  = !!defined?(Hancock::Cache)

      @pages_support = !!defined?(Hancock::Pages)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hancock_cms_search-1.0.2 lib/hancock/search/configuration.rb