Sha256: 50299fc11e5a8d516d0d8ab67340f9d151d2c55f9627ff12e165b6b228cddc1a
Contents?: true
Size: 334 Bytes
Versions: 9
Compression:
Stored size: 334 Bytes
Contents
module GovukSchemas class DocumentTypes # Return all of the document types on GOV.UK def self.valid_document_types @valid_document_types ||= begin filename = "#{GovukSchemas::CONTENT_SCHEMA_DIR}/lib/govuk_content_schemas/allowed_document_types.yml" YAML.load_file(filename) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems