Sha256: 51cfb8a509363fb69d7c930aafa27e17ec7763e5788b6ebd37d62334575113f2

Contents?: true

Size: 526 Bytes

Versions: 41

Compression:

Stored size: 526 Bytes

Contents

module HealthDataStandards
  module Export
    module Hdata
      class Metadata
        def initialize
          template_helper = TemplateHelper.new('hdata')
          @rendering_context = RenderingContext.new
          @rendering_context.template_helper = template_helper
        end

        def export(entry, metadata, include_namespace=false)
          @rendering_context.render(:template => 'metadata', :locals => {entry: entry, metadata: metadata, namespace: include_namespace})
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
health-data-standards-3.5.0 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.4.6 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.4.5 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.4.4 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.4.3 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.4.2 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.4.1 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.4.0 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.12 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.3.0 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.11 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.10 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.8 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.7 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.6 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.5 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.4 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.3 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.2 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.2.1 lib/health-data-standards/export/hdata/metadata.rb