Class: SchemaTest::Property::Boolean

Inherits:
SchemaTest::Property show all
Defined in:
lib/schema_test/property.rb

Instance Attribute Summary

Attributes inherited from SchemaTest::Property

#description, #name, #optional, #type

Instance Method Summary collapse

Methods inherited from SchemaTest::Property

#==, #as_json_schema, #as_structure, #json_schema_format, #json_schema_type, #optional!, #optional?

Constructor Details

#initialize(name, description = nil) ⇒ Boolean

Returns a new instance of Boolean.



51
52
53
# File 'lib/schema_test/property.rb', line 51

def initialize(name, description=nil)
  super(name, :boolean, description)
end