Sha256: 38efb20fa7879455857f04e3a0ee7e1cd90c6d3dd3a7b2204781d5688d17fdb1
Contents?: true
Size: 564 Bytes
Versions: 10
Compression:
Stored size: 564 Bytes
Contents
# frozen_string_literal: true module Esse class DocumentLazyAttribute attr_reader :options def initialize(**kwargs) @options = kwargs end # Returns an Hash with the document ID as key and attribute data as value. # @param doc_headers [Array<Esse::LazyDocumentHeader>] the document headers # @return [Hash] An Hash with the instance of document header as key and the attribute data as value. def call(doc_headers) raise NotImplementedError, 'Override this method to return the document attribute data' end end end
Version data entries
10 entries across 10 versions & 1 rubygems