Module: PublishingPlatformSchemas
- Defined in:
- lib/publishing_platform_schemas.rb,
lib/publishing_platform_schemas/schema.rb,
lib/publishing_platform_schemas/version.rb
Defined Under Namespace
Classes: InvalidContentGenerated, Schema
Constant Summary
collapse
- VERSION =
"0.1.1"
Class Method Summary
collapse
Class Method Details
.content_schema_dir ⇒ Object
11
12
13
|
# File 'lib/publishing_platform_schemas.rb', line 11
def self.content_schema_dir
@content_schema_dir ||= ENV.fetch("PUBLISHING_PLATFORM_CONTENT_SCHEMAS_PATH", "../publishing-api/content_schemas")
end
|
.content_schema_dir=(path_to_schemas) ⇒ Object
7
8
9
|
# File 'lib/publishing_platform_schemas.rb', line 7
def self.content_schema_dir=(path_to_schemas)
@content_schema_dir = path_to_schemas
end
|