Class: EasyTalk::Builders::DatetimeBuilder
- Inherits:
-
StringBuilder
- Object
- BaseBuilder
- StringBuilder
- EasyTalk::Builders::DatetimeBuilder
- Defined in:
- lib/easy_talk/builders/datetime_builder.rb
Overview
Builder class for datetime properties.
Constant Summary
Constants inherited from StringBuilder
Constants inherited from BaseBuilder
Instance Attribute Summary
Attributes inherited from BaseBuilder
Instance Method Summary collapse
Methods inherited from StringBuilder
Methods inherited from BaseBuilder
#build, collection_type?, #initialize
Constructor Details
This class inherits a constructor from EasyTalk::Builders::StringBuilder
Instance Method Details
#schema ⇒ Object
11 12 13 14 15 |
# File 'lib/easy_talk/builders/datetime_builder.rb', line 11 def schema super.tap do |schema| schema[:format] = 'date-time' end end |