Class: SchemaTest::Property::AnonymousObject
- Inherits:
-
Object
- Object
- SchemaTest::Property
- Object
- SchemaTest::Property::AnonymousObject
- Defined in:
- lib/schema_test/property.rb
Constant Summary
Constants inherited from Object
Object::SHORTHAND_ATTRIBUTES, Object::TYPES
Constants inherited from SchemaTest::Property
Instance Attribute Summary
Attributes inherited from Object
#excluded_property_names, #version
Attributes inherited from SchemaTest::Property
Instance Method Summary collapse
-
#initialize(properties: nil, &block) ⇒ AnonymousObject
constructor
A new instance of AnonymousObject.
Methods inherited from Object
#==, #array, #as_json_schema, #base_json_schema_type, #based_on, #object, #properties, #resolve
Methods inherited from SchemaTest::Property
#==, #as_json_schema, #base_json_schema_type, #json_schema_format, #json_schema_type, #lookup_object, #nullable, #nullable!, #nullable?, #optional, #optional!, #optional?, #type
Constructor Details
#initialize(properties: nil, &block) ⇒ AnonymousObject
Returns a new instance of AnonymousObject.
290 291 292 |
# File 'lib/schema_test/property.rb', line 290 def initialize(properties: nil, &block) super(nil, properties: properties, &block) end |