Sha256: 7f51c2881cba2125c85f3ef0f8ba166062ef20a8b4a87c7e8a198d845d457155

Contents?: true

Size: 233 Bytes

Versions: 5

Compression:

Stored size: 233 Bytes

Contents

json.data do
  json.array! @records do |d|
    json.id d.id
    json.name d.name
    json.staff d.staff&.user&.real_name
    json.created_at d.created_at.to_s
  end
end
json.code 0
json.count @records.total_count
json.msg 'succcess'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
educode_sales-0.7.1 app/views/educode_sales/businesses/export_records.json.jbuilder
educode_sales-0.7.0 app/views/educode_sales/businesses/export_records.json.jbuilder
educode_sales-0.6.9 app/views/educode_sales/businesses/export_records.json.jbuilder
educode_sales-0.6.8 app/views/educode_sales/businesses/export_records.json.jbuilder
educode_sales-0.6.7 app/views/educode_sales/businesses/export_records.json.jbuilder