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