Module: HealthDataStandards::Export::Hdata::Metadata

Extended by:
Metadata
Includes:
TemplateHelper
Included in:
Metadata
Defined in:
lib/health-data-standards/export/hdata/metadata.rb

Instance Attribute Summary

Attributes included from TemplateHelper

#template_format, #template_subdir

Instance Method Summary collapse

Methods included from TemplateHelper

#partial, #render, #template, #template_root

Instance Method Details

#export(entry, metadata) ⇒ Object



7
8
9
10
# File 'lib/health-data-standards/export/hdata/metadata.rb', line 7

def export(entry, )
  self.template_format = "hdata"
  render(:template => 'metadata', :locals => {entry: entry, metadata: })
end