Sha256: 305e4a2482c669a19707f099f1f898492855ebb69365805a528895110dbb4e51

Contents?: true

Size: 615 Bytes

Versions: 11

Compression:

Stored size: 615 Bytes

Contents

json.extract! app_review, :id, :description, :status,
              :user_id, :user_name, :organization_id, :organization_name,
              :app_id, :app_name, :user_admin_role, :created_at, :updated_at,
              :edited, :edited_by_name, :edited_by_admin_role, :edited_by_id

show_rating = local_assigns.fetch(:show_rating, true)
if app_review.respond_to?(:rating) && show_rating
  json.rating app_review.rating
end

if app_review[:versions]
  json.versions do
    json.array! app_review[:versions] do |version|
      json.extract! version, :id, :event, :description, :created_at, :author
    end
  end
end

Version data entries

11 entries across 7 versions & 1 rubygems

Version Path
mno-enterprise-api-3.4.0 app/views/mno_enterprise/jpi/v1/base_resource/_app_review.json.jbuilder
mno-enterprise-api-3.4.0 app/views/mno_enterprise/jpi/v1/admin/base_resource/_app_review.json.jbuilder
mno-enterprise-api-3.3.3 app/views/mno_enterprise/jpi/v1/admin/base_resource/_app_review.json.jbuilder
mno-enterprise-api-3.3.3 app/views/mno_enterprise/jpi/v1/base_resource/_app_review.json.jbuilder
mno-enterprise-api-3.3.2 app/views/mno_enterprise/jpi/v1/admin/base_resource/_app_review.json.jbuilder
mno-enterprise-api-3.3.2 app/views/mno_enterprise/jpi/v1/base_resource/_app_review.json.jbuilder
mno-enterprise-api-3.2.1 app/views/mno_enterprise/jpi/v1/base_resource/_app_review.json.jbuilder
mno-enterprise-api-3.3.1 app/views/mno_enterprise/jpi/v1/base_resource/_app_review.json.jbuilder
mno-enterprise-api-3.3.1 app/views/mno_enterprise/jpi/v1/admin/base_resource/_app_review.json.jbuilder
mno-enterprise-api-3.3.0 app/views/mno_enterprise/jpi/v1/base_resource/_app_review.json.jbuilder
mno-enterprise-api-3.2.0 app/views/mno_enterprise/jpi/v1/base_resource/_app_review.json.jbuilder