Module: PublishingPlatformSchemas

Defined in:
lib/publishing_platform_schemas.rb,
lib/publishing_platform_schemas/schema.rb,
lib/publishing_platform_schemas/example.rb,
lib/publishing_platform_schemas/version.rb,
lib/publishing_platform_schemas/validator.rb,
lib/publishing_platform_schemas/rspec_matchers.rb

Defined Under Namespace

Modules: RSpecMatchers Classes: Example, InvalidContentGenerated, Schema, Validator

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.content_schema_dirObject



12
13
14
# File 'lib/publishing_platform_schemas.rb', line 12

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



8
9
10
# File 'lib/publishing_platform_schemas.rb', line 8

def self.content_schema_dir=(path_to_schemas)
  @content_schema_dir = path_to_schemas
end