Sha256: 46ac8a151daf6543d1e23d9abeb4a0ed8b48bd5b93d3de7430aa4880b6357042

Contents?: true

Size: 543 Bytes

Versions: 9

Compression:

Stored size: 543 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.4 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.3 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.2 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.1 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.3.0 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.2.0 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.0.3 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.1.0 lib/workato/connector/sdk/schema/field/string.rb
workato-connector-sdk-1.0.2 lib/workato/connector/sdk/schema/field/string.rb