Module: SchemaTools

Defined in:
lib/schema_tools/modules/validations.rb,
lib/schema_tools.rb,
lib/schema_tools/hash.rb,
lib/schema_tools/reader.rb,
lib/schema_tools/cleaner.rb,
lib/schema_tools/version.rb,
lib/schema_tools/modules/hash.rb,
lib/schema_tools/modules/read.rb,
lib/schema_tools/ref_resolver.rb,
lib/schema_tools/klass_factory.rb,
lib/schema_tools/modules/as_schema.rb,
lib/schema_tools/modules/attributes.rb

Overview

require ‘active_model/conversion’

Defined Under Namespace

Modules: Modules Classes: Cleaner, Hash, KlassFactory, Reader, RefResolver

Constant Summary collapse

VERSION =
'0.2.4'

Class Method Summary collapse

Class Method Details

.schema_pathObject



22
23
24
# File 'lib/schema_tools.rb', line 22

def schema_path
  @schema_path
end

.schema_path=(path) ⇒ Object

Parameters:

  • path (String)

    to schema json files



19
20
21
# File 'lib/schema_tools.rb', line 19

def schema_path=(path)
  @schema_path = path
end