Sha256: fd9a50600d6b36e507462b5774aa9b2d7931348d46a3c440484e7b15baaff9ce

Contents?: true

Size: 205 Bytes

Versions: 99

Compression:

Stored size: 205 Bytes

Contents

require "edition"

class AnswerEdition < Edition
  field :body, type: String

  GOVSPEAK_FIELDS = Edition::GOVSPEAK_FIELDS + [:body]

  @fields_to_clone = [:body]

  def whole_body
    self.body
  end
end

Version data entries

99 entries across 99 versions & 1 rubygems

Version Path
govuk_content_models-28.0.0 app/models/answer_edition.rb
govuk_content_models-27.2.0 app/models/answer_edition.rb
govuk_content_models-27.1.0 app/models/answer_edition.rb
govuk_content_models-27.0.0 app/models/answer_edition.rb
govuk_content_models-26.2.0 app/models/answer_edition.rb
govuk_content_models-26.1.0 app/models/answer_edition.rb
govuk_content_models-26.0.0 app/models/answer_edition.rb
govuk_content_models-25.0.0 app/models/answer_edition.rb
govuk_content_models-24.2.0 app/models/answer_edition.rb
govuk_content_models-24.1.0 app/models/answer_edition.rb
govuk_content_models-24.0.1 app/models/answer_edition.rb
govuk_content_models-24.0.0 app/models/answer_edition.rb
govuk_content_models-23.0.0 app/models/answer_edition.rb
govuk_content_models-22.2.0 app/models/answer_edition.rb
govuk_content_models-22.1.2 app/models/answer_edition.rb
govuk_content_models-22.1.1 app/models/answer_edition.rb
govuk_content_models-22.1.0 app/models/answer_edition.rb
govuk_content_models-22.0.0 app/models/answer_edition.rb
govuk_content_models-21.0.0 app/models/answer_edition.rb
govuk_content_models-20.2.0 app/models/answer_edition.rb