Class: SchemaTest::Property::UnresolvedProperty
- Inherits:
-
Object
- Object
- SchemaTest::Property
- Object
- SchemaTest::Property::UnresolvedProperty
- Defined in:
- lib/schema_test/property.rb
Constant Summary
Constants inherited from Object
Object::SHORTHAND_ATTRIBUTES, Object::TYPES
Instance Attribute Summary
Attributes inherited from Object
Attributes inherited from SchemaTest::Property
#description, #name, #optional, #type
Instance Method Summary collapse
Methods inherited from Object
#array, #as_json_schema, #initialize, #json_schema_type, #object
Methods inherited from SchemaTest::Property
#as_json_schema, #initialize, #json_schema_format, #json_schema_type, #optional!, #optional?
Constructor Details
This class inherits a constructor from SchemaTest::Property::Object
Instance Method Details
#==(other) ⇒ Object
216 217 218 |
# File 'lib/schema_test/property.rb', line 216 def ==(other) resolve == other end |
#as_structure(*args) ⇒ Object
224 225 226 |
# File 'lib/schema_test/property.rb', line 224 def as_structure(*args) resolve.as_structure(*args) end |
#properties ⇒ Object
220 221 222 |
# File 'lib/schema_test/property.rb', line 220 def properties resolve.properties end |
#resolve ⇒ Object
212 213 214 |
# File 'lib/schema_test/property.rb', line 212 def resolve SchemaTest::Definition.find!(name, version) end |