Sha256: e50d7239d09ff9d57e53a09381fa1eb09f095b18a1c61c9486a229ce2fe8faf0

Contents?: true

Size: 657 Bytes

Versions: 9

Compression:

Stored size: 657 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

9 entries across 9 versions & 1 rubygems

Version Path
workato-connector-sdk-1.3.4 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.3 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.2 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.1 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.3.0 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.2.0 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.0.3 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.1.0 lib/workato/connector/sdk/schema/field/date_time.rb
workato-connector-sdk-1.0.2 lib/workato/connector/sdk/schema/field/date_time.rb