Class: SchemaTest::Property::DateTime
- Inherits:
-
SchemaTest::Property
- Object
- SchemaTest::Property
- SchemaTest::Property::DateTime
- Defined in:
- lib/schema_test/property.rb
Constant Summary
Constants inherited from SchemaTest::Property
Instance Attribute Summary
Attributes inherited from SchemaTest::Property
Instance Method Summary collapse
- #base_json_schema_type ⇒ Object
-
#initialize(name, description = nil) ⇒ DateTime
constructor
A new instance of DateTime.
- #json_schema_format ⇒ Object
Methods inherited from SchemaTest::Property
#==, #as_json_schema, #json_schema_type, #lookup_object, #nullable, #nullable!, #nullable?, #optional, #optional!, #optional?, #type
Constructor Details
#initialize(name, description = nil) ⇒ DateTime
Returns a new instance of DateTime.
129 130 131 |
# File 'lib/schema_test/property.rb', line 129 def initialize(name, description=nil) super(name, :datetime, description) end |