Sha256: 4ae97afdd227e274b550dd8cdb370c93b0fe611f6b3f95e5ed86fa163932e1b2

Contents?: true

Size: 310 Bytes

Versions: 7

Compression:

Stored size: 310 Bytes

Contents

json.collection @collection do |j|
  json.id            j.id
end

json.meta do
  json.current_page( @collection.current_page )
  json.next_page( @collection.next_page )
  json.prev_page( @collection.previous_page )
  json.total_pages( @collection.total_pages)
  json.total_count( @collection.total_entries)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gdpr_rails-0.5.1 spec/dummy/app/views/collection.json.jbuilder
gdpr_rails-0.5.0 spec/dummy/app/views/collection.json.jbuilder
gdpr_rails-0.4.0 spec/dummy/app/views/collection.json.jbuilder
gdpr_rails-0.3.4 spec/dummy/app/views/collection.json.jbuilder
gdpr_rails-0.3.3 spec/dummy/app/views/collection.json.jbuilder
gdpr_rails-0.3.2 spec/dummy/app/views/collection.json.jbuilder
gdpr_rails-0.3.1 spec/dummy/app/views/collection.json.jbuilder