Class: EasyTalk::Builders::TimeBuilder
- Inherits:
-
StringBuilder
- Object
- BaseBuilder
- StringBuilder
- EasyTalk::Builders::TimeBuilder
- Defined in:
- lib/easy_talk/builders/time_builder.rb
Overview
Builder class for time 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
9 10 11 12 13 |
# File 'lib/easy_talk/builders/time_builder.rb', line 9 def schema super.tap do |schema| schema[:format] = 'time' end end |