Sha256: 4431e41a317087f223b4265176d7271c128ac75eb95630b7345d339186f36e56
Contents?: true
Size: 588 Bytes
Versions: 30
Compression:
Stored size: 588 Bytes
Contents
module HealthDataStandards module Export module GreenC32 class Entry def initialize template_helper = TemplateHelper.new('gc32', 'gc32') @rendering_context = RenderingContext.new @rendering_context.template_helper = template_helper @rendering_context.extensions = [HealthDataStandards::Export::Helper::GC32ViewHelper] end def export(object, object_type) @rendering_context.render(partial: object_type, locals: {object_type => object, type: object_type}) end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems