Class: EasyTalk::Builders::TimeBuilder

Inherits:
StringBuilder show all
Defined in:
lib/easy_talk/builders/time_builder.rb

Overview

Builder class for time properties.

Constant Summary

Constants inherited from StringBuilder

StringBuilder::VALID_OPTIONS

Constants inherited from BaseBuilder

BaseBuilder::COMMON_OPTIONS

Instance Attribute Summary

Attributes inherited from BaseBuilder

#name, #options

Instance Method Summary collapse

Methods inherited from StringBuilder

#initialize

Methods inherited from BaseBuilder

#build, collection_type?, #initialize

Constructor Details

This class inherits a constructor from EasyTalk::Builders::StringBuilder

Instance Method Details

#schemaObject



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