Sha256: f245dc7fa2cb15fe65579fde52e020bcfa2c1c744fa5781b18691a068bb7902d

Contents?: true

Size: 460 Bytes

Versions: 29

Compression:

Stored size: 460 Bytes

Contents

require 'uuid'
module Qrda
  module Export
    module Helper
      module ViewHelper
        def measures
          @measures.only(:hqmf_id, :hqmf_set_id, :description).as_json
        end

        def random_id
          UUID.generate
        end

        def as_id
          self['value']
        end

        def object_id
          self[:_id]
        end

        def submission_program
          @submission_program
        end
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
cqm-reports-2.0.5 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.0.0.pre.alpha.2 lib/qrda-export/helper/view_helper.rb
cqm-reports-2.0.4 lib/qrda-export/helper/view_helper.rb
cqm-reports-2.0.3 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.0.0.pre.alpha.1 lib/qrda-export/helper/view_helper.rb
cqm-reports-2.0.2 lib/qrda-export/helper/view_helper.rb
cqm-reports-2.0.1 lib/qrda-export/helper/view_helper.rb
cqm-reports-2.0.0 lib/qrda-export/helper/view_helper.rb
cqm-reports-1.0.0.0 lib/qrda-export/helper/view_helper.rb