Sha256: d2c94117c4e96841db19feaea3392c0ff0baccd9c8ae9f755b9309f9803647b4

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

require 'georgia/indexer/tire/georgia/page'
require 'georgia/indexer/tire/georgia/message'
require 'georgia/indexer/tire/ckeditor/asset'

module Georgia::Indexer
  class TireAdapter < Adapter

    def initialize
      extend_models
    end

    private

    def extend_models
      ::Georgia::Page.send(:extend, Georgia::Indexer::Tire::Georgia::Page)
      ::Georgia::Message.send(:extend, Georgia::Indexer::Tire::Georgia::Message)
      ::Ckeditor::Asset.send(:extend, Georgia::Indexer::Tire::Ckeditor::Asset)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.7.2 lib/georgia/indexer/tire_adapter.rb