Sha256: 7534057ef61e123676f07e6b980c530d3f7b5b0904aba81090330e936b862c43

Contents?: true

Size: 541 Bytes

Versions: 9

Compression:

Stored size: 541 Bytes

Contents

# typed: true
# frozen_string_literal: true

require_relative 'convertors'

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

            DEFAULT_ATTRIBUTES = {
              type: 'string',
              control_type: 'text'
            }.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.13 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.12 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.11 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.10 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.9 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.8 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.7 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.6 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.5 lib/workato/connector/sdk/schema/field/string.rb