Sha256: f94f4b712846b16ae580220aefb580eea0d80fcd2f4f72b73c0050c087ca5798

Contents?: true

Size: 471 Bytes

Versions: 6

Compression:

Stored size: 471 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)
          @rendering_context.render(:template => 'metadata', :locals => {entry: entry, metadata: metadata})
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
health-data-standards-3.1.1 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.1.0 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.0.6 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.0.5 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.0.4 lib/health-data-standards/export/hdata/metadata.rb
health-data-standards-3.0.3 lib/health-data-standards/export/hdata/metadata.rb