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-4.0.1 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.10 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.9 lib/qrda-export/helper/view_helper.rb
cqm-reports-4.0.0 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.8 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.7 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.6 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.5 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.4 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.3 lib/qrda-export/helper/view_helper.rb
cqm-reports-2.1.1 lib/qrda-export/helper/view_helper.rb
cqm-reports-2.1.0 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.2 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.1 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.1.0 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.0.1 lib/qrda-export/helper/view_helper.rb
cqm-reports-3.0.0 lib/qrda-export/helper/view_helper.rb
cqm-reports-2.0.8 lib/qrda-export/helper/view_helper.rb
cqm-reports-2.0.7 lib/qrda-export/helper/view_helper.rb
cqm-reports-2.0.6 lib/qrda-export/helper/view_helper.rb