Sha256: a14b23127235fd99255bb531d76932e55c2f3d491b11e584f608508f84f6c660

Contents?: true

Size: 655 Bytes

Versions: 10

Compression:

Stored size: 655 Bytes

Contents

# typed: true
# frozen_string_literal: true

require_relative 'convertors'

module Workato
  module Connector
    module Sdk
      class Schema
        module Field
          class DateTime < SimpleDelegator
            include Convertors

            DEFAULT_ATTRIBUTES = {
              type: 'date_time',
              control_type: 'date_time',
              render_input: 'date_time_conversion',
              parse_output: 'date_time_conversion'
            }.with_indifferent_access.freeze

            def initialize(field)
              super(DEFAULT_ATTRIBUTES.merge(field))
            end
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
workato-connector-sdk-1.3.14 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.13 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.12 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.11 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.10 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.9 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.8 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.7 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.6 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.5 lib/workato/connector/sdk/schema/field/date_time.rb