Sha256: 6c184dc7b85869d396aca909bcbe650a619622a23613f03b9bc5df605f867133

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

Stored size: 343 Bytes

Contents

module Mongoid
  module Archivable
    module Gluten
      extend ActiveSupport::Concern
      included do
        include ClassMethods
      end
      module ClassMethods
        def archive_in args
          @@archive_storage = args
        end

        def archive_storage
          @@archive_storage
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid-archivable-1.7.1 lib/mongoid/archivable/gluten.rb
mongoid-archivable-1.7.0 lib/mongoid/archivable/gluten.rb
mongoid-archivable-1.6.0 lib/mongoid/archivable/gluten.rb