Sha256: 6eaa8481b14718304bc3687f1a580f78366ce316acb4fe859d35b90fa9d6d814

Contents?: true

Size: 595 Bytes

Versions: 9

Compression:

Stored size: 595 Bytes

Contents

# typed: true
# frozen_string_literal: true

require_relative 'convertors'

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

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