Sha256: ee0c9f42115756dd58394b965fbb0f7baed14840fc4035cdd588cd7236447b3f

Contents?: true

Size: 593 Bytes

Versions: 9

Compression:

Stored size: 593 Bytes

Contents

# typed: true
# frozen_string_literal: true

require_relative './convertors'

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

            DEFAULT_ATTRIBUTES = {
              type: 'number',
              control_type: 'number',
              parse_output: 'float_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/number.rb
workato-connector-sdk-1.3.3 lib/workato/connector/sdk/schema/field/number.rb
workato-connector-sdk-1.3.2 lib/workato/connector/sdk/schema/field/number.rb
workato-connector-sdk-1.3.1 lib/workato/connector/sdk/schema/field/number.rb
workato-connector-sdk-1.3.0 lib/workato/connector/sdk/schema/field/number.rb
workato-connector-sdk-1.2.0 lib/workato/connector/sdk/schema/field/number.rb
workato-connector-sdk-1.0.3 lib/workato/connector/sdk/schema/field/number.rb
workato-connector-sdk-1.1.0 lib/workato/connector/sdk/schema/field/number.rb
workato-connector-sdk-1.0.2 lib/workato/connector/sdk/schema/field/number.rb