class SchemaTest::Configuration

Attributes

definition_paths[RW]

This should be an array or one or more paths. All ruby files under these paths will all be loaded when `SchemaTest.setup!` is called. You can nest files in as many subdirectories are you like.

domain[RW]

The domain is used to contstruct the `$id` part of the generated JSON-Schema definitions. This can be set to anything you like really.

Public Class Methods

new() click to toggle source
# File lib/schema_test/configuration.rb, line 12
def initialize
  @domain = 'example.com'
  @definition_paths = []
end