Class: Field::Types::DateTime
- Inherits:
-
Base
- Object
- Base
- Field::Types::DateTime
show all
- Defined in:
- lib/field/types/date_time.rb
Instance Attribute Summary
Attributes inherited from Base
#name, #translated, #type
Instance Method Summary
collapse
Methods inherited from Base
fetch, #json_schema_pattern, supported_types
Instance Method Details
8
9
10
|
# File 'lib/field/types/date_time.rb', line 8
def json_schema_format
'date-time'
end
|
#json_schema_type ⇒ Object
4
5
6
|
# File 'lib/field/types/date_time.rb', line 4
def json_schema_type
:string
end
|
#swagger_type ⇒ Object
12
13
14
|
# File 'lib/field/types/date_time.rb', line 12
def swagger_type
:DateTime
end
|