Sha256: b203ffa34852ece5a26ac5e7a20ed10864148f0d3e83821e031c54807e876dc3

Contents?: true

Size: 405 Bytes

Versions: 3

Compression:

Stored size: 405 Bytes

Contents

class SpecialistDocumentEdition < Edition
  field :summary, type: String
  field :body, type: String
  field :opened_date, type: Date
  field :closed_date, type: Date
  field :case_type, type: String
  field :case_state, type: String
  field :market_sector, type: String
  field :outcome_type, type: String

  GOVSPEAK_FIELDS = Edition::GOVSPEAK_FIELDS + [:body]

  def whole_body
    self.body
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
govuk_content_models-7.1.0 app/models/specialist_document_edition.rb
govuk_content_models-7.0.0 app/models/specialist_document_edition.rb
govuk_content_models-6.4.0 app/models/specialist_document_edition.rb