Sha256: 777a0ab8b5d050acc6fc2ffb3c7163e88385289f3c9b63c5a5626dc4cb483aeb

Contents?: true

Size: 675 Bytes

Versions: 84

Compression:

Stored size: 675 Bytes

Contents

require "safe_html"

class OverviewDashboard
  include Mongoid::Document

  TOTAL_KEY = "**TOTAL**"
  UNASSIGNED_KEY = "**UNASSIGNED**"

  field :dashboard_type,      type: String
  field :result_group,        type: Integer
  field :count,               type: Integer
  field :draft,               type: Integer
  field :amends_needed,       type: Integer
  field :in_review,           type: Integer
  field :ready,               type: Integer
  field :fact_check_received, type: Integer
  field :fact_check,          type: Integer
  field :published,           type: Integer
  field :archived,            type: Integer

  GOVSPEAK_FIELDS = []

  validates_with SafeHtml
end

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
govuk_content_models-8.3.0 app/models/overview_dashboard.rb
govuk_content_models-8.2.0 app/models/overview_dashboard.rb
govuk_content_models-8.1.0 app/models/overview_dashboard.rb
govuk_content_models-8.0.0 app/models/overview_dashboard.rb