Sha256: 566f4223192585200df01d0022ffabf1aaf7d1bb38b68e417e213d924d5b6e34
Contents?: true
Size: 306 Bytes
Versions: 28
Compression:
Stored size: 306 Bytes
Contents
module Workarea module Admin module Reports class SalesByTenderViewModel < ApplicationViewModel def results @results ||= model.results.map do |result| OpenStruct.new(result.merge(name: result['_id'].titleize)) end end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems