Sha256: 37ce942b1e9227607325292fe48a48f04de9c7d61b3c3583516a587a88563456
Contents?: true
Size: 444 Bytes
Versions: 56
Compression:
Stored size: 444 Bytes
Contents
json.data do json.array! @data do |d| json.(d, *d.attributes.keys) json.name d.idea&.business&.name || d.idea&.name json.school_name d.idea&.business&.department&.school&.name json.created_at d.created_at.strftime("%Y-%m-%d %H:%M:%S") json.staff d.staff&.user&.real_name json.sale_staff d.sale_staff&.user&.real_name json.idea_staff d.idea_staff&.user&.real_name end end json.code 0 json.count @data.total_count
Version data entries
56 entries across 56 versions & 1 rubygems