Sha256: 253c2e94541aa7c7b16c6962777c5b4dddfe8853139459892ac929613e38152e

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

module KManager
  module Documents
    # A basic document stores a simple data object with tags for
    # unique key, type, namespace and project.
    class BasicDocument < KDoc::Container
      include KLog::Logging
      include KManager::Documents::DocumentTaggable

      def initialize(**opts)
        super(**opts)
        initialize_document_tags(**opts)
      end

      def default_document_type
        :basic
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
k_manager-0.0.13 lib/k_manager/documents/basic_document.rb