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