Sha256: 01a00c76d778c40ec2d5cbb46f4ad16764dc2c7bf0c54bd2cd2f539e702a7f10
Contents?: true
Size: 497 Bytes
Versions: 2
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true require_relative "publishing_platform_schemas/version" require_relative "publishing_platform_schemas/schema" module PublishingPlatformSchemas def self.content_schema_dir=(path_to_schemas) @content_schema_dir = path_to_schemas end def self.content_schema_dir @content_schema_dir ||= ENV.fetch("PUBLISHING_PLATFORM_CONTENT_SCHEMAS_PATH", "../publishing-api/content_schemas") end # @private class InvalidContentGenerated < RuntimeError end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
publishing_platform_schemas-0.1.1 | lib/publishing_platform_schemas.rb |
publishing_platform_schemas-0.1.0 | lib/publishing_platform_schemas.rb |