Sha256: fe1280f1959f24d8a0fcb73a15bff2379a5017983ef4bde6eefec7b526bcac96

Contents?: true

Size: 416 Bytes

Versions: 3

Compression:

Stored size: 416 Bytes

Contents

object false

node(:total)    { @collection[:total] }
node(:subtotal) { @collection[:subtotal] }
node(:selectable) { @collection[:selectable] || @collection[:total] }
node(:page)     { @collection[:page] }
node(:per_page) { @collection[:per_page] }
node(:error)    { @collection[:error] }
node(:search)   { params[:search] }
node(:sort) do
  {
    :by => params[:sort_by],
    :order => params[:sort_order],
  }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katello-4.15.0 app/views/katello/api/v2/common/_metadata.json.rabl
katello-4.15.0.rc2 app/views/katello/api/v2/common/_metadata.json.rabl
katello-4.15.0.rc1 app/views/katello/api/v2/common/_metadata.json.rabl